lightgbm 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +1 -1
- data/README.md +7 -7
- data/lib/lightgbm/version.rb +1 -1
- data/lib/lightgbm.rb +1 -1
- data/vendor/LICENSE-THIRD-PARTY +548 -0
- data/vendor/lib_lightgbm.arm64.dylib +0 -0
- data/vendor/lib_lightgbm.dll +0 -0
- data/vendor/lib_lightgbm.dylib +0 -0
- data/vendor/lib_lightgbm.so +0 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8534e936cb0e7decf0735addf29a849912c1a31aec2982aac7d35efc318f14d2
|
4
|
+
data.tar.gz: d7b0fae01557b5b8161315bd9d4a11e3b84b48293a73e10ca53429e7f631533a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae84e94d8dea94c7acfebfd8023673a97775f9efdf436546b18a6d39c5d03018646ee1cc52e6223083381672766247b98724addd1f859579bef2b073fbab36d0
|
7
|
+
data.tar.gz: f4f13ee11325b3e74f82ba41a13f87f51dca0c84e726c493f79862dd9c0e289122111780ff36ca4841bf61f504c11f4134002f766873d63aa6e99cf46fc71487
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
3
|
Copyright (c) Microsoft Corporation
|
4
|
-
Copyright (c) 2019-
|
4
|
+
Copyright (c) 2019-2023 Andrew Kane
|
5
5
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
[LightGBM](https://github.com/microsoft/LightGBM) - high performance gradient boosting - for Ruby
|
4
4
|
|
5
|
-
[![Build Status](https://github.com/
|
5
|
+
[![Build Status](https://github.com/ruby-ml/lightgbm-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ruby-ml/lightgbm-ruby/actions)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
Add this line to your application’s Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem
|
12
|
+
gem "lightgbm"
|
13
13
|
```
|
14
14
|
|
15
15
|
On Mac, also install OpenMP:
|
@@ -154,7 +154,7 @@ Daru::DataFrame.from_csv("houses.csv")
|
|
154
154
|
|
155
155
|
## Related Projects
|
156
156
|
|
157
|
-
- [XGBoost](https://github.com/
|
157
|
+
- [XGBoost](https://github.com/ruby-ml/xgboost-ruby) - XGBoost for Ruby
|
158
158
|
- [Eps](https://github.com/ankane/eps) - Machine learning for Ruby
|
159
159
|
|
160
160
|
## Credits
|
@@ -169,21 +169,21 @@ Thanks to the [xgboost](https://github.com/PairOnAir/xgboost-ruby) gem for showi
|
|
169
169
|
|
170
170
|
## History
|
171
171
|
|
172
|
-
View the [changelog](https://github.com/
|
172
|
+
View the [changelog](https://github.com/ruby-ml/lightgbm-ruby/blob/master/CHANGELOG.md)
|
173
173
|
|
174
174
|
## Contributing
|
175
175
|
|
176
176
|
Everyone is encouraged to help improve this project. Here are a few ways you can help:
|
177
177
|
|
178
|
-
- [Report bugs](https://github.com/
|
179
|
-
- Fix bugs and [submit pull requests](https://github.com/
|
178
|
+
- [Report bugs](https://github.com/ruby-ml/lightgbm-ruby/issues)
|
179
|
+
- Fix bugs and [submit pull requests](https://github.com/ruby-ml/lightgbm-ruby/pulls)
|
180
180
|
- Write, clarify, or fix documentation
|
181
181
|
- Suggest or add new features
|
182
182
|
|
183
183
|
To get started with development:
|
184
184
|
|
185
185
|
```sh
|
186
|
-
git clone https://github.com/
|
186
|
+
git clone https://github.com/ruby-ml/lightgbm-ruby.git
|
187
187
|
cd lightgbm-ruby
|
188
188
|
bundle install
|
189
189
|
bundle exec rake vendor:all
|
data/lib/lightgbm/version.rb
CHANGED
data/lib/lightgbm.rb
CHANGED
@@ -20,7 +20,7 @@ module LightGBM
|
|
20
20
|
attr_accessor :ffi_lib
|
21
21
|
end
|
22
22
|
lib_name =
|
23
|
-
if RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm/i
|
23
|
+
if RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
24
24
|
"lib_lightgbm.arm64.#{::FFI::Platform::LIBSUFFIX}"
|
25
25
|
else
|
26
26
|
"lib_lightgbm.#{::FFI::Platform::LIBSUFFIX}"
|
@@ -0,0 +1,548 @@
|
|
1
|
+
================================================================================
|
2
|
+
Boost.Compute 1.70.0
|
3
|
+
================================================================================
|
4
|
+
|
5
|
+
Boost Software License - Version 1.0 - August 17th, 2003
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person or organization
|
8
|
+
obtaining a copy of the software and accompanying documentation covered by
|
9
|
+
this license (the "Software") to use, reproduce, display, distribute,
|
10
|
+
execute, and transmit the Software, and to prepare derivative works of the
|
11
|
+
Software, and to permit third-parties to whom the Software is furnished to
|
12
|
+
do so, all subject to the following:
|
13
|
+
|
14
|
+
The copyright notices in the Software and this entire statement, including
|
15
|
+
the above license grant, this restriction and the following disclaimer,
|
16
|
+
must be included in all copies of the Software, in whole or in part, and
|
17
|
+
all derivative works of the Software, unless such copies or derivative
|
18
|
+
works are solely in the form of machine-executable object code generated by
|
19
|
+
a source language processor.
|
20
|
+
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
24
|
+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
25
|
+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
26
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
27
|
+
DEALINGS IN THE SOFTWARE.
|
28
|
+
|
29
|
+
================================================================================
|
30
|
+
Eigen 8ba1b0f41
|
31
|
+
================================================================================
|
32
|
+
|
33
|
+
Source code available at https://gitlab.com/libeigen/eigen
|
34
|
+
|
35
|
+
Mozilla Public License Version 2.0
|
36
|
+
==================================
|
37
|
+
|
38
|
+
1. Definitions
|
39
|
+
--------------
|
40
|
+
|
41
|
+
1.1. "Contributor"
|
42
|
+
means each individual or legal entity that creates, contributes to
|
43
|
+
the creation of, or owns Covered Software.
|
44
|
+
|
45
|
+
1.2. "Contributor Version"
|
46
|
+
means the combination of the Contributions of others (if any) used
|
47
|
+
by a Contributor and that particular Contributor's Contribution.
|
48
|
+
|
49
|
+
1.3. "Contribution"
|
50
|
+
means Covered Software of a particular Contributor.
|
51
|
+
|
52
|
+
1.4. "Covered Software"
|
53
|
+
means Source Code Form to which the initial Contributor has attached
|
54
|
+
the notice in Exhibit A, the Executable Form of such Source Code
|
55
|
+
Form, and Modifications of such Source Code Form, in each case
|
56
|
+
including portions thereof.
|
57
|
+
|
58
|
+
1.5. "Incompatible With Secondary Licenses"
|
59
|
+
means
|
60
|
+
|
61
|
+
(a) that the initial Contributor has attached the notice described
|
62
|
+
in Exhibit B to the Covered Software; or
|
63
|
+
|
64
|
+
(b) that the Covered Software was made available under the terms of
|
65
|
+
version 1.1 or earlier of the License, but not also under the
|
66
|
+
terms of a Secondary License.
|
67
|
+
|
68
|
+
1.6. "Executable Form"
|
69
|
+
means any form of the work other than Source Code Form.
|
70
|
+
|
71
|
+
1.7. "Larger Work"
|
72
|
+
means a work that combines Covered Software with other material, in
|
73
|
+
a separate file or files, that is not Covered Software.
|
74
|
+
|
75
|
+
1.8. "License"
|
76
|
+
means this document.
|
77
|
+
|
78
|
+
1.9. "Licensable"
|
79
|
+
means having the right to grant, to the maximum extent possible,
|
80
|
+
whether at the time of the initial grant or subsequently, any and
|
81
|
+
all of the rights conveyed by this License.
|
82
|
+
|
83
|
+
1.10. "Modifications"
|
84
|
+
means any of the following:
|
85
|
+
|
86
|
+
(a) any file in Source Code Form that results from an addition to,
|
87
|
+
deletion from, or modification of the contents of Covered
|
88
|
+
Software; or
|
89
|
+
|
90
|
+
(b) any new file in Source Code Form that contains any Covered
|
91
|
+
Software.
|
92
|
+
|
93
|
+
1.11. "Patent Claims" of a Contributor
|
94
|
+
means any patent claim(s), including without limitation, method,
|
95
|
+
process, and apparatus claims, in any patent Licensable by such
|
96
|
+
Contributor that would be infringed, but for the grant of the
|
97
|
+
License, by the making, using, selling, offering for sale, having
|
98
|
+
made, import, or transfer of either its Contributions or its
|
99
|
+
Contributor Version.
|
100
|
+
|
101
|
+
1.12. "Secondary License"
|
102
|
+
means either the GNU General Public License, Version 2.0, the GNU
|
103
|
+
Lesser General Public License, Version 2.1, the GNU Affero General
|
104
|
+
Public License, Version 3.0, or any later versions of those
|
105
|
+
licenses.
|
106
|
+
|
107
|
+
1.13. "Source Code Form"
|
108
|
+
means the form of the work preferred for making modifications.
|
109
|
+
|
110
|
+
1.14. "You" (or "Your")
|
111
|
+
means an individual or a legal entity exercising rights under this
|
112
|
+
License. For legal entities, "You" includes any entity that
|
113
|
+
controls, is controlled by, or is under common control with You. For
|
114
|
+
purposes of this definition, "control" means (a) the power, direct
|
115
|
+
or indirect, to cause the direction or management of such entity,
|
116
|
+
whether by contract or otherwise, or (b) ownership of more than
|
117
|
+
fifty percent (50%) of the outstanding shares or beneficial
|
118
|
+
ownership of such entity.
|
119
|
+
|
120
|
+
2. License Grants and Conditions
|
121
|
+
--------------------------------
|
122
|
+
|
123
|
+
2.1. Grants
|
124
|
+
|
125
|
+
Each Contributor hereby grants You a world-wide, royalty-free,
|
126
|
+
non-exclusive license:
|
127
|
+
|
128
|
+
(a) under intellectual property rights (other than patent or trademark)
|
129
|
+
Licensable by such Contributor to use, reproduce, make available,
|
130
|
+
modify, display, perform, distribute, and otherwise exploit its
|
131
|
+
Contributions, either on an unmodified basis, with Modifications, or
|
132
|
+
as part of a Larger Work; and
|
133
|
+
|
134
|
+
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
135
|
+
for sale, have made, import, and otherwise transfer either its
|
136
|
+
Contributions or its Contributor Version.
|
137
|
+
|
138
|
+
2.2. Effective Date
|
139
|
+
|
140
|
+
The licenses granted in Section 2.1 with respect to any Contribution
|
141
|
+
become effective for each Contribution on the date the Contributor first
|
142
|
+
distributes such Contribution.
|
143
|
+
|
144
|
+
2.3. Limitations on Grant Scope
|
145
|
+
|
146
|
+
The licenses granted in this Section 2 are the only rights granted under
|
147
|
+
this License. No additional rights or licenses will be implied from the
|
148
|
+
distribution or licensing of Covered Software under this License.
|
149
|
+
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
150
|
+
Contributor:
|
151
|
+
|
152
|
+
(a) for any code that a Contributor has removed from Covered Software;
|
153
|
+
or
|
154
|
+
|
155
|
+
(b) for infringements caused by: (i) Your and any other third party's
|
156
|
+
modifications of Covered Software, or (ii) the combination of its
|
157
|
+
Contributions with other software (except as part of its Contributor
|
158
|
+
Version); or
|
159
|
+
|
160
|
+
(c) under Patent Claims infringed by Covered Software in the absence of
|
161
|
+
its Contributions.
|
162
|
+
|
163
|
+
This License does not grant any rights in the trademarks, service marks,
|
164
|
+
or logos of any Contributor (except as may be necessary to comply with
|
165
|
+
the notice requirements in Section 3.4).
|
166
|
+
|
167
|
+
2.4. Subsequent Licenses
|
168
|
+
|
169
|
+
No Contributor makes additional grants as a result of Your choice to
|
170
|
+
distribute the Covered Software under a subsequent version of this
|
171
|
+
License (see Section 10.2) or under the terms of a Secondary License (if
|
172
|
+
permitted under the terms of Section 3.3).
|
173
|
+
|
174
|
+
2.5. Representation
|
175
|
+
|
176
|
+
Each Contributor represents that the Contributor believes its
|
177
|
+
Contributions are its original creation(s) or it has sufficient rights
|
178
|
+
to grant the rights to its Contributions conveyed by this License.
|
179
|
+
|
180
|
+
2.6. Fair Use
|
181
|
+
|
182
|
+
This License is not intended to limit any rights You have under
|
183
|
+
applicable copyright doctrines of fair use, fair dealing, or other
|
184
|
+
equivalents.
|
185
|
+
|
186
|
+
2.7. Conditions
|
187
|
+
|
188
|
+
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
189
|
+
in Section 2.1.
|
190
|
+
|
191
|
+
3. Responsibilities
|
192
|
+
-------------------
|
193
|
+
|
194
|
+
3.1. Distribution of Source Form
|
195
|
+
|
196
|
+
All distribution of Covered Software in Source Code Form, including any
|
197
|
+
Modifications that You create or to which You contribute, must be under
|
198
|
+
the terms of this License. You must inform recipients that the Source
|
199
|
+
Code Form of the Covered Software is governed by the terms of this
|
200
|
+
License, and how they can obtain a copy of this License. You may not
|
201
|
+
attempt to alter or restrict the recipients' rights in the Source Code
|
202
|
+
Form.
|
203
|
+
|
204
|
+
3.2. Distribution of Executable Form
|
205
|
+
|
206
|
+
If You distribute Covered Software in Executable Form then:
|
207
|
+
|
208
|
+
(a) such Covered Software must also be made available in Source Code
|
209
|
+
Form, as described in Section 3.1, and You must inform recipients of
|
210
|
+
the Executable Form how they can obtain a copy of such Source Code
|
211
|
+
Form by reasonable means in a timely manner, at a charge no more
|
212
|
+
than the cost of distribution to the recipient; and
|
213
|
+
|
214
|
+
(b) You may distribute such Executable Form under the terms of this
|
215
|
+
License, or sublicense it under different terms, provided that the
|
216
|
+
license for the Executable Form does not attempt to limit or alter
|
217
|
+
the recipients' rights in the Source Code Form under this License.
|
218
|
+
|
219
|
+
3.3. Distribution of a Larger Work
|
220
|
+
|
221
|
+
You may create and distribute a Larger Work under terms of Your choice,
|
222
|
+
provided that You also comply with the requirements of this License for
|
223
|
+
the Covered Software. If the Larger Work is a combination of Covered
|
224
|
+
Software with a work governed by one or more Secondary Licenses, and the
|
225
|
+
Covered Software is not Incompatible With Secondary Licenses, this
|
226
|
+
License permits You to additionally distribute such Covered Software
|
227
|
+
under the terms of such Secondary License(s), so that the recipient of
|
228
|
+
the Larger Work may, at their option, further distribute the Covered
|
229
|
+
Software under the terms of either this License or such Secondary
|
230
|
+
License(s).
|
231
|
+
|
232
|
+
3.4. Notices
|
233
|
+
|
234
|
+
You may not remove or alter the substance of any license notices
|
235
|
+
(including copyright notices, patent notices, disclaimers of warranty,
|
236
|
+
or limitations of liability) contained within the Source Code Form of
|
237
|
+
the Covered Software, except that You may alter any license notices to
|
238
|
+
the extent required to remedy known factual inaccuracies.
|
239
|
+
|
240
|
+
3.5. Application of Additional Terms
|
241
|
+
|
242
|
+
You may choose to offer, and to charge a fee for, warranty, support,
|
243
|
+
indemnity or liability obligations to one or more recipients of Covered
|
244
|
+
Software. However, You may do so only on Your own behalf, and not on
|
245
|
+
behalf of any Contributor. You must make it absolutely clear that any
|
246
|
+
such warranty, support, indemnity, or liability obligation is offered by
|
247
|
+
You alone, and You hereby agree to indemnify every Contributor for any
|
248
|
+
liability incurred by such Contributor as a result of warranty, support,
|
249
|
+
indemnity or liability terms You offer. You may include additional
|
250
|
+
disclaimers of warranty and limitations of liability specific to any
|
251
|
+
jurisdiction.
|
252
|
+
|
253
|
+
4. Inability to Comply Due to Statute or Regulation
|
254
|
+
---------------------------------------------------
|
255
|
+
|
256
|
+
If it is impossible for You to comply with any of the terms of this
|
257
|
+
License with respect to some or all of the Covered Software due to
|
258
|
+
statute, judicial order, or regulation then You must: (a) comply with
|
259
|
+
the terms of this License to the maximum extent possible; and (b)
|
260
|
+
describe the limitations and the code they affect. Such description must
|
261
|
+
be placed in a text file included with all distributions of the Covered
|
262
|
+
Software under this License. Except to the extent prohibited by statute
|
263
|
+
or regulation, such description must be sufficiently detailed for a
|
264
|
+
recipient of ordinary skill to be able to understand it.
|
265
|
+
|
266
|
+
5. Termination
|
267
|
+
--------------
|
268
|
+
|
269
|
+
5.1. The rights granted under this License will terminate automatically
|
270
|
+
if You fail to comply with any of its terms. However, if You become
|
271
|
+
compliant, then the rights granted under this License from a particular
|
272
|
+
Contributor are reinstated (a) provisionally, unless and until such
|
273
|
+
Contributor explicitly and finally terminates Your grants, and (b) on an
|
274
|
+
ongoing basis, if such Contributor fails to notify You of the
|
275
|
+
non-compliance by some reasonable means prior to 60 days after You have
|
276
|
+
come back into compliance. Moreover, Your grants from a particular
|
277
|
+
Contributor are reinstated on an ongoing basis if such Contributor
|
278
|
+
notifies You of the non-compliance by some reasonable means, this is the
|
279
|
+
first time You have received notice of non-compliance with this License
|
280
|
+
from such Contributor, and You become compliant prior to 30 days after
|
281
|
+
Your receipt of the notice.
|
282
|
+
|
283
|
+
5.2. If You initiate litigation against any entity by asserting a patent
|
284
|
+
infringement claim (excluding declaratory judgment actions,
|
285
|
+
counter-claims, and cross-claims) alleging that a Contributor Version
|
286
|
+
directly or indirectly infringes any patent, then the rights granted to
|
287
|
+
You by any and all Contributors for the Covered Software under Section
|
288
|
+
2.1 of this License shall terminate.
|
289
|
+
|
290
|
+
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
291
|
+
end user license agreements (excluding distributors and resellers) which
|
292
|
+
have been validly granted by You or Your distributors under this License
|
293
|
+
prior to termination shall survive termination.
|
294
|
+
|
295
|
+
************************************************************************
|
296
|
+
* *
|
297
|
+
* 6. Disclaimer of Warranty *
|
298
|
+
* ------------------------- *
|
299
|
+
* *
|
300
|
+
* Covered Software is provided under this License on an "as is" *
|
301
|
+
* basis, without warranty of any kind, either expressed, implied, or *
|
302
|
+
* statutory, including, without limitation, warranties that the *
|
303
|
+
* Covered Software is free of defects, merchantable, fit for a *
|
304
|
+
* particular purpose or non-infringing. The entire risk as to the *
|
305
|
+
* quality and performance of the Covered Software is with You. *
|
306
|
+
* Should any Covered Software prove defective in any respect, You *
|
307
|
+
* (not any Contributor) assume the cost of any necessary servicing, *
|
308
|
+
* repair, or correction. This disclaimer of warranty constitutes an *
|
309
|
+
* essential part of this License. No use of any Covered Software is *
|
310
|
+
* authorized under this License except under this disclaimer. *
|
311
|
+
* *
|
312
|
+
************************************************************************
|
313
|
+
|
314
|
+
************************************************************************
|
315
|
+
* *
|
316
|
+
* 7. Limitation of Liability *
|
317
|
+
* -------------------------- *
|
318
|
+
* *
|
319
|
+
* Under no circumstances and under no legal theory, whether tort *
|
320
|
+
* (including negligence), contract, or otherwise, shall any *
|
321
|
+
* Contributor, or anyone who distributes Covered Software as *
|
322
|
+
* permitted above, be liable to You for any direct, indirect, *
|
323
|
+
* special, incidental, or consequential damages of any character *
|
324
|
+
* including, without limitation, damages for lost profits, loss of *
|
325
|
+
* goodwill, work stoppage, computer failure or malfunction, or any *
|
326
|
+
* and all other commercial damages or losses, even if such party *
|
327
|
+
* shall have been informed of the possibility of such damages. This *
|
328
|
+
* limitation of liability shall not apply to liability for death or *
|
329
|
+
* personal injury resulting from such party's negligence to the *
|
330
|
+
* extent applicable law prohibits such limitation. Some *
|
331
|
+
* jurisdictions do not allow the exclusion or limitation of *
|
332
|
+
* incidental or consequential damages, so this exclusion and *
|
333
|
+
* limitation may not apply to You. *
|
334
|
+
* *
|
335
|
+
************************************************************************
|
336
|
+
|
337
|
+
8. Litigation
|
338
|
+
-------------
|
339
|
+
|
340
|
+
Any litigation relating to this License may be brought only in the
|
341
|
+
courts of a jurisdiction where the defendant maintains its principal
|
342
|
+
place of business and such litigation shall be governed by laws of that
|
343
|
+
jurisdiction, without reference to its conflict-of-law provisions.
|
344
|
+
Nothing in this Section shall prevent a party's ability to bring
|
345
|
+
cross-claims or counter-claims.
|
346
|
+
|
347
|
+
9. Miscellaneous
|
348
|
+
----------------
|
349
|
+
|
350
|
+
This License represents the complete agreement concerning the subject
|
351
|
+
matter hereof. If any provision of this License is held to be
|
352
|
+
unenforceable, such provision shall be reformed only to the extent
|
353
|
+
necessary to make it enforceable. Any law or regulation which provides
|
354
|
+
that the language of a contract shall be construed against the drafter
|
355
|
+
shall not be used to construe this License against a Contributor.
|
356
|
+
|
357
|
+
10. Versions of the License
|
358
|
+
---------------------------
|
359
|
+
|
360
|
+
10.1. New Versions
|
361
|
+
|
362
|
+
Mozilla Foundation is the license steward. Except as provided in Section
|
363
|
+
10.3, no one other than the license steward has the right to modify or
|
364
|
+
publish new versions of this License. Each version will be given a
|
365
|
+
distinguishing version number.
|
366
|
+
|
367
|
+
10.2. Effect of New Versions
|
368
|
+
|
369
|
+
You may distribute the Covered Software under the terms of the version
|
370
|
+
of the License under which You originally received the Covered Software,
|
371
|
+
or under the terms of any subsequent version published by the license
|
372
|
+
steward.
|
373
|
+
|
374
|
+
10.3. Modified Versions
|
375
|
+
|
376
|
+
If you create software not governed by this License, and you want to
|
377
|
+
create a new license for such software, you may create and use a
|
378
|
+
modified version of this License if you rename the license and remove
|
379
|
+
any references to the name of the license steward (except to note that
|
380
|
+
such modified license differs from this License).
|
381
|
+
|
382
|
+
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
383
|
+
Licenses
|
384
|
+
|
385
|
+
If You choose to distribute Source Code Form that is Incompatible With
|
386
|
+
Secondary Licenses under the terms of this version of the License, the
|
387
|
+
notice described in Exhibit B of this License must be attached.
|
388
|
+
|
389
|
+
Exhibit A - Source Code Form License Notice
|
390
|
+
-------------------------------------------
|
391
|
+
|
392
|
+
This Source Code Form is subject to the terms of the Mozilla Public
|
393
|
+
License, v. 2.0. If a copy of the MPL was not distributed with this
|
394
|
+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
395
|
+
|
396
|
+
If it is not possible or desirable to put the notice in a particular
|
397
|
+
file, then You may include the notice in a location (such as a LICENSE
|
398
|
+
file in a relevant directory) where a recipient would be likely to look
|
399
|
+
for such a notice.
|
400
|
+
|
401
|
+
You may add additional accurate notices of copyright ownership.
|
402
|
+
|
403
|
+
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
404
|
+
---------------------------------------------------------
|
405
|
+
|
406
|
+
This Source Code Form is "Incompatible With Secondary Licenses", as
|
407
|
+
defined by the Mozilla Public License, v. 2.0.
|
408
|
+
|
409
|
+
and
|
410
|
+
|
411
|
+
/*
|
412
|
+
Copyright (c) 2011, Intel Corporation. All rights reserved.
|
413
|
+
|
414
|
+
Redistribution and use in source and binary forms, with or without modification,
|
415
|
+
are permitted provided that the following conditions are met:
|
416
|
+
|
417
|
+
* Redistributions of source code must retain the above copyright notice, this
|
418
|
+
list of conditions and the following disclaimer.
|
419
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
420
|
+
this list of conditions and the following disclaimer in the documentation
|
421
|
+
and/or other materials provided with the distribution.
|
422
|
+
* Neither the name of Intel Corporation nor the names of its contributors may
|
423
|
+
be used to endorse or promote products derived from this software without
|
424
|
+
specific prior written permission.
|
425
|
+
|
426
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
427
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
428
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
429
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
430
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
431
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
432
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
433
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
434
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
435
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
436
|
+
*/
|
437
|
+
|
438
|
+
================================================================================
|
439
|
+
fast_double_parser 0.3.0
|
440
|
+
================================================================================
|
441
|
+
|
442
|
+
Copyright (c) Daniel Lemire
|
443
|
+
|
444
|
+
Boost Software License - Version 1.0 - August 17th, 2003
|
445
|
+
|
446
|
+
Permission is hereby granted, free of charge, to any person or organization
|
447
|
+
obtaining a copy of the software and accompanying documentation covered by
|
448
|
+
this license (the "Software") to use, reproduce, display, distribute,
|
449
|
+
execute, and transmit the Software, and to prepare derivative works of the
|
450
|
+
Software, and to permit third-parties to whom the Software is furnished to
|
451
|
+
do so, all subject to the following:
|
452
|
+
|
453
|
+
The copyright notices in the Software and this entire statement, including
|
454
|
+
the above license grant, this restriction and the following disclaimer,
|
455
|
+
must be included in all copies of the Software, in whole or in part, and
|
456
|
+
all derivative works of the Software, unless such copies or derivative
|
457
|
+
works are solely in the form of machine-executable object code generated by
|
458
|
+
a source language processor.
|
459
|
+
|
460
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
461
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
462
|
+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
463
|
+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
464
|
+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
465
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
466
|
+
DEALINGS IN THE SOFTWARE.
|
467
|
+
|
468
|
+
================================================================================
|
469
|
+
fmt 7.1.2
|
470
|
+
================================================================================
|
471
|
+
|
472
|
+
Copyright (c) 2012 - present, Victor Zverovich
|
473
|
+
|
474
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
475
|
+
a copy of this software and associated documentation files (the
|
476
|
+
"Software"), to deal in the Software without restriction, including
|
477
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
478
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
479
|
+
permit persons to whom the Software is furnished to do so, subject to
|
480
|
+
the following conditions:
|
481
|
+
|
482
|
+
The above copyright notice and this permission notice shall be
|
483
|
+
included in all copies or substantial portions of the Software.
|
484
|
+
|
485
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
486
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
487
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
488
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
489
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
490
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
491
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
492
|
+
|
493
|
+
--- Optional exception to the license ---
|
494
|
+
|
495
|
+
As an exception, if, as a result of your compiling your source code, portions
|
496
|
+
of this Software are embedded into a machine-executable object form of such
|
497
|
+
source code, you may redistribute such embedded portions in such object form
|
498
|
+
without including the above copyright and permission notices.
|
499
|
+
|
500
|
+
================================================================================
|
501
|
+
json11
|
502
|
+
================================================================================
|
503
|
+
|
504
|
+
Copyright (c) 2013 Dropbox, Inc.
|
505
|
+
|
506
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
507
|
+
of this software and associated documentation files (the "Software"), to deal
|
508
|
+
in the Software without restriction, including without limitation the rights
|
509
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
510
|
+
copies of the Software, and to permit persons to whom the Software is
|
511
|
+
furnished to do so, subject to the following conditions:
|
512
|
+
|
513
|
+
The above copyright notice and this permission notice shall be included in
|
514
|
+
all copies or substantial portions of the Software.
|
515
|
+
|
516
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
517
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
518
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
519
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
520
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
521
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
522
|
+
THE SOFTWARE.
|
523
|
+
|
524
|
+
================================================================================
|
525
|
+
yamc
|
526
|
+
================================================================================
|
527
|
+
|
528
|
+
MIT License
|
529
|
+
|
530
|
+
Copyright (c) 2017 yohhoy
|
531
|
+
|
532
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
533
|
+
of this software and associated documentation files (the "Software"), to deal
|
534
|
+
in the Software without restriction, including without limitation the rights
|
535
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
536
|
+
copies of the Software, and to permit persons to whom the Software is
|
537
|
+
furnished to do so, subject to the following conditions:
|
538
|
+
|
539
|
+
The above copyright notice and this permission notice shall be included in all
|
540
|
+
copies or substantial portions of the Software.
|
541
|
+
|
542
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
543
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
544
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
545
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
546
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
547
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
548
|
+
SOFTWARE.
|
Binary file
|
data/vendor/lib_lightgbm.dll
CHANGED
Binary file
|
data/vendor/lib_lightgbm.dylib
CHANGED
Binary file
|
data/vendor/lib_lightgbm.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lightgbm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
description:
|
28
|
-
email: andrew@
|
28
|
+
email: andrew@ankane.org
|
29
29
|
executables: []
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
@@ -44,11 +44,12 @@ files:
|
|
44
44
|
- lib/lightgbm/utils.rb
|
45
45
|
- lib/lightgbm/version.rb
|
46
46
|
- vendor/LICENSE
|
47
|
+
- vendor/LICENSE-THIRD-PARTY
|
47
48
|
- vendor/lib_lightgbm.arm64.dylib
|
48
49
|
- vendor/lib_lightgbm.dll
|
49
50
|
- vendor/lib_lightgbm.dylib
|
50
51
|
- vendor/lib_lightgbm.so
|
51
|
-
homepage: https://github.com/
|
52
|
+
homepage: https://github.com/ruby-ml/lightgbm-ruby
|
52
53
|
licenses:
|
53
54
|
- MIT
|
54
55
|
metadata: {}
|
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '0'
|
69
70
|
requirements: []
|
70
|
-
rubygems_version: 3.
|
71
|
+
rubygems_version: 3.4.1
|
71
72
|
signing_key:
|
72
73
|
specification_version: 4
|
73
74
|
summary: High performance gradient boosting for Ruby
|