miniboosts 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- miniboosts-0.5.2/Cargo.lock +569 -0
- miniboosts-0.5.2/Cargo.toml +31 -0
- miniboosts-0.5.2/LICENSE +21 -0
- miniboosts-0.5.2/MIGRATION.md +217 -0
- miniboosts-0.5.2/PKG-INFO +331 -0
- miniboosts-0.5.2/README.md +268 -0
- miniboosts-0.5.2/RELEASING.md +83 -0
- miniboosts-0.5.2/docs/logging.md +91 -0
- miniboosts-0.5.2/miniboosts/__init__.py +23 -0
- miniboosts-0.5.2/miniboosts/_estimators.py +768 -0
- miniboosts-0.5.2/pyproject.toml +44 -0
- miniboosts-0.5.2/python/Cargo.lock +647 -0
- miniboosts-0.5.2/python/Cargo.toml +21 -0
- miniboosts-0.5.2/python/LICENSE +21 -0
- miniboosts-0.5.2/python/README.md +301 -0
- miniboosts-0.5.2/python/src/lib.rs +813 -0
- miniboosts-0.5.2/python/tests/test_api.py +268 -0
- miniboosts-0.5.2/python/tests/test_arcgv_bbm_robustboost.py +80 -0
- miniboosts-0.5.2/python/tests/test_brownboost_sparsiboost.py +100 -0
- miniboosts-0.5.2/python/tests/test_regression_boosters.py +173 -0
- miniboosts-0.5.2/python/tests/test_weak_learners.py +125 -0
- miniboosts-0.5.2/src/boosters/adaboost/algorithm.rs +735 -0
- miniboosts-0.5.2/src/boosters/adaboost/mod.rs +6 -0
- miniboosts-0.5.2/src/boosters/adaboostv/algorithm.rs +648 -0
- miniboosts-0.5.2/src/boosters/adaboostv/mod.rs +5 -0
- miniboosts-0.5.2/src/boosters/arcgv/algorithm.rs +366 -0
- miniboosts-0.5.2/src/boosters/arcgv/mod.rs +5 -0
- miniboosts-0.5.2/src/boosters/bbm/algorithm.rs +402 -0
- miniboosts-0.5.2/src/boosters/bbm/mod.rs +5 -0
- miniboosts-0.5.2/src/boosters/brownboost/algorithm.rs +592 -0
- miniboosts-0.5.2/src/boosters/brownboost/mod.rs +6 -0
- miniboosts-0.5.2/src/boosters/brownboost/solver.rs +332 -0
- miniboosts-0.5.2/src/boosters/corrective_erlpboost/algorithm.rs +909 -0
- miniboosts-0.5.2/src/boosters/corrective_erlpboost/mod.rs +10 -0
- miniboosts-0.5.2/src/boosters/erlpboost/algorithm.rs +554 -0
- miniboosts-0.5.2/src/boosters/erlpboost/mod.rs +9 -0
- miniboosts-0.5.2/src/boosters/gradient_boosting/algorithm.rs +537 -0
- miniboosts-0.5.2/src/boosters/gradient_boosting/mod.rs +5 -0
- miniboosts-0.5.2/src/boosters/graph_separation_boosting/algorithm.rs +488 -0
- miniboosts-0.5.2/src/boosters/graph_separation_boosting/mod.rs +10 -0
- miniboosts-0.5.2/src/boosters/logitboost/algorithm.rs +339 -0
- miniboosts-0.5.2/src/boosters/logitboost/mod.rs +5 -0
- miniboosts-0.5.2/src/boosters/lpboost/algorithm.rs +459 -0
- miniboosts-0.5.2/src/boosters/lpboost/mod.rs +9 -0
- miniboosts-0.5.2/src/boosters/madaboost/algorithm.rs +574 -0
- miniboosts-0.5.2/src/boosters/madaboost/mod.rs +5 -0
- miniboosts-0.5.2/src/boosters/mlpboost/algorithm.rs +961 -0
- miniboosts-0.5.2/src/boosters/mlpboost/mod.rs +9 -0
- miniboosts-0.5.2/src/boosters/mod.rs +147 -0
- miniboosts-0.5.2/src/boosters/robustboost/algorithm.rs +445 -0
- miniboosts-0.5.2/src/boosters/robustboost/mod.rs +6 -0
- miniboosts-0.5.2/src/boosters/robustboost/solver.rs +320 -0
- miniboosts-0.5.2/src/boosters/smoothboost/algorithm.rs +557 -0
- miniboosts-0.5.2/src/boosters/smoothboost/mod.rs +5 -0
- miniboosts-0.5.2/src/boosters/softboost/algorithm.rs +514 -0
- miniboosts-0.5.2/src/boosters/softboost/mod.rs +14 -0
- miniboosts-0.5.2/src/boosters/softboost/solver.rs +379 -0
- miniboosts-0.5.2/src/boosters/sparsiboost/algorithm.rs +657 -0
- miniboosts-0.5.2/src/boosters/sparsiboost/mod.rs +6 -0
- miniboosts-0.5.2/src/boosters/totalboost/algorithm.rs +256 -0
- miniboosts-0.5.2/src/boosters/totalboost/mod.rs +11 -0
- miniboosts-0.5.2/src/core/booster.rs +242 -0
- miniboosts-0.5.2/src/core/constants.rs +38 -0
- miniboosts-0.5.2/src/core/hypothesis.rs +140 -0
- miniboosts-0.5.2/src/core/mod.rs +96 -0
- miniboosts-0.5.2/src/core/sample/feature.rs +735 -0
- miniboosts-0.5.2/src/core/sample/reader.rs +232 -0
- miniboosts-0.5.2/src/core/sample/sample_struct.rs +1098 -0
- miniboosts-0.5.2/src/core/sample.rs +15 -0
- miniboosts-0.5.2/src/core/tools/binning.rs +930 -0
- miniboosts-0.5.2/src/core/tools/checkers.rs +203 -0
- miniboosts-0.5.2/src/core/tools/helpers.rs +1043 -0
- miniboosts-0.5.2/src/core/tools/special.rs +42 -0
- miniboosts-0.5.2/src/core/tools/tree.rs +400 -0
- miniboosts-0.5.2/src/core/tools.rs +7 -0
- miniboosts-0.5.2/src/core/weak_learner.rs +124 -0
- miniboosts-0.5.2/src/hypotheses/additive_model.rs +101 -0
- miniboosts-0.5.2/src/hypotheses/majority_vote.rs +55 -0
- miniboosts-0.5.2/src/hypotheses/mod.rs +22 -0
- miniboosts-0.5.2/src/hypotheses/naive_aggregation.rs +194 -0
- miniboosts-0.5.2/src/hypotheses/weighted_majority.rs +333 -0
- miniboosts-0.5.2/src/lib.rs +51 -0
- miniboosts-0.5.2/src/logging/builder.rs +713 -0
- miniboosts-0.5.2/src/logging/logger.rs +751 -0
- miniboosts-0.5.2/src/logging/mod.rs +28 -0
- miniboosts-0.5.2/src/logging/objective.rs +155 -0
- miniboosts-0.5.2/src/optimization/edge_minimization.rs +1241 -0
- miniboosts-0.5.2/src/optimization/entropy_certificate.rs +224 -0
- miniboosts-0.5.2/src/optimization/entropy_solver.rs +201 -0
- miniboosts-0.5.2/src/optimization/frank_wolfe.rs +936 -0
- miniboosts-0.5.2/src/optimization/mod.rs +94 -0
- miniboosts-0.5.2/src/optimization/objective_function.rs +367 -0
- miniboosts-0.5.2/src/optimization/soft_margin_optimization.rs +705 -0
- miniboosts-0.5.2/src/optimization/sparsification.rs +939 -0
- miniboosts-0.5.2/src/prelude.rs +75 -0
- miniboosts-0.5.2/src/weak_learners/decision_tree/builder.rs +256 -0
- miniboosts-0.5.2/src/weak_learners/decision_tree/classifier.rs +112 -0
- miniboosts-0.5.2/src/weak_learners/decision_tree/dtree.rs +348 -0
- miniboosts-0.5.2/src/weak_learners/decision_tree/mod.rs +26 -0
- miniboosts-0.5.2/src/weak_learners/decision_tree/node.rs +167 -0
- miniboosts-0.5.2/src/weak_learners/decision_tree/split_by.rs +887 -0
- miniboosts-0.5.2/src/weak_learners/finite_class.rs +438 -0
- miniboosts-0.5.2/src/weak_learners/linear.rs +721 -0
- miniboosts-0.5.2/src/weak_learners/mod.rs +27 -0
- miniboosts-0.5.2/src/weak_learners/naive_bayes.rs +354 -0
- miniboosts-0.5.2/src/weak_learners/rbf.rs +314 -0
- miniboosts-0.5.2/src/weak_learners/regression_tree.rs +448 -0
- miniboosts-0.5.2/tests/adaboost.rs +30 -0
- miniboosts-0.5.2/tests/adaboostv.rs +30 -0
- miniboosts-0.5.2/tests/corrective-erlpboost.rs +30 -0
- miniboosts-0.5.2/tests/current_hypothesis.rs +55 -0
- miniboosts-0.5.2/tests/data/german.csv +1001 -0
- miniboosts-0.5.2/tests/dense_sample.rs +27 -0
- miniboosts-0.5.2/tests/erlpboost.rs +30 -0
- miniboosts-0.5.2/tests/graph-separation-boosting.rs +13 -0
- miniboosts-0.5.2/tests/hypothesis_bounds.rs +44 -0
- miniboosts-0.5.2/tests/lpboost.rs +30 -0
- miniboosts-0.5.2/tests/madaboost.rs +30 -0
- miniboosts-0.5.2/tests/mlpboost.rs +30 -0
- miniboosts-0.5.2/tests/smoothboost.rs +30 -0
- miniboosts-0.5.2/tests/softboost.rs +30 -0
- miniboosts-0.5.2/tests/support/mod.rs +35 -0
- miniboosts-0.5.2/tests/totalboost.rs +36 -0
|
@@ -0,0 +1,569 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "amd"
|
|
7
|
+
version = "0.2.2"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "a679e001575697a3bd195813feb57a4718ecc08dc194944015cbc5f6213c2b96"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"num-traits",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "autocfg"
|
|
16
|
+
version = "1.4.0"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "bumpalo"
|
|
22
|
+
version = "3.17.0"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "cfg-if"
|
|
28
|
+
version = "1.0.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "clarabel"
|
|
34
|
+
version = "0.11.1"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "d950c870fad4feed732bc3f7da489d223ba3911eac0522e6512eed7e659cfafe"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"amd",
|
|
39
|
+
"cfg-if",
|
|
40
|
+
"derive_builder",
|
|
41
|
+
"enum_dispatch",
|
|
42
|
+
"itertools",
|
|
43
|
+
"lazy_static",
|
|
44
|
+
"num-traits",
|
|
45
|
+
"serde",
|
|
46
|
+
"serde-big-array",
|
|
47
|
+
"serde_json",
|
|
48
|
+
"thiserror",
|
|
49
|
+
"web-time",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
[[package]]
|
|
53
|
+
name = "colored"
|
|
54
|
+
version = "3.1.1"
|
|
55
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
56
|
+
checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34"
|
|
57
|
+
dependencies = [
|
|
58
|
+
"windows-sys",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "crossbeam-deque"
|
|
63
|
+
version = "0.8.6"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
|
|
66
|
+
dependencies = [
|
|
67
|
+
"crossbeam-epoch",
|
|
68
|
+
"crossbeam-utils",
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
[[package]]
|
|
72
|
+
name = "crossbeam-epoch"
|
|
73
|
+
version = "0.9.18"
|
|
74
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
75
|
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
|
76
|
+
dependencies = [
|
|
77
|
+
"crossbeam-utils",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "crossbeam-utils"
|
|
82
|
+
version = "0.8.21"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "darling"
|
|
88
|
+
version = "0.14.4"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850"
|
|
91
|
+
dependencies = [
|
|
92
|
+
"darling_core",
|
|
93
|
+
"darling_macro",
|
|
94
|
+
]
|
|
95
|
+
|
|
96
|
+
[[package]]
|
|
97
|
+
name = "darling_core"
|
|
98
|
+
version = "0.14.4"
|
|
99
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
+
checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0"
|
|
101
|
+
dependencies = [
|
|
102
|
+
"fnv",
|
|
103
|
+
"ident_case",
|
|
104
|
+
"proc-macro2",
|
|
105
|
+
"quote",
|
|
106
|
+
"strsim",
|
|
107
|
+
"syn 1.0.109",
|
|
108
|
+
]
|
|
109
|
+
|
|
110
|
+
[[package]]
|
|
111
|
+
name = "darling_macro"
|
|
112
|
+
version = "0.14.4"
|
|
113
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
+
checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e"
|
|
115
|
+
dependencies = [
|
|
116
|
+
"darling_core",
|
|
117
|
+
"quote",
|
|
118
|
+
"syn 1.0.109",
|
|
119
|
+
]
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "derive_builder"
|
|
123
|
+
version = "0.11.2"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "d07adf7be193b71cc36b193d0f5fe60b918a3a9db4dad0449f57bcfd519704a3"
|
|
126
|
+
dependencies = [
|
|
127
|
+
"derive_builder_macro",
|
|
128
|
+
]
|
|
129
|
+
|
|
130
|
+
[[package]]
|
|
131
|
+
name = "derive_builder_core"
|
|
132
|
+
version = "0.11.2"
|
|
133
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
134
|
+
checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4"
|
|
135
|
+
dependencies = [
|
|
136
|
+
"darling",
|
|
137
|
+
"proc-macro2",
|
|
138
|
+
"quote",
|
|
139
|
+
"syn 1.0.109",
|
|
140
|
+
]
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "derive_builder_macro"
|
|
144
|
+
version = "0.11.2"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68"
|
|
147
|
+
dependencies = [
|
|
148
|
+
"derive_builder_core",
|
|
149
|
+
"syn 1.0.109",
|
|
150
|
+
]
|
|
151
|
+
|
|
152
|
+
[[package]]
|
|
153
|
+
name = "either"
|
|
154
|
+
version = "1.15.0"
|
|
155
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
156
|
+
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
157
|
+
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "enum_dispatch"
|
|
160
|
+
version = "0.3.13"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd"
|
|
163
|
+
dependencies = [
|
|
164
|
+
"once_cell",
|
|
165
|
+
"proc-macro2",
|
|
166
|
+
"quote",
|
|
167
|
+
"syn 2.0.100",
|
|
168
|
+
]
|
|
169
|
+
|
|
170
|
+
[[package]]
|
|
171
|
+
name = "fixedbitset"
|
|
172
|
+
version = "0.5.7"
|
|
173
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
174
|
+
checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99"
|
|
175
|
+
|
|
176
|
+
[[package]]
|
|
177
|
+
name = "fnv"
|
|
178
|
+
version = "1.0.7"
|
|
179
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
180
|
+
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
181
|
+
|
|
182
|
+
[[package]]
|
|
183
|
+
name = "ident_case"
|
|
184
|
+
version = "1.0.1"
|
|
185
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
+
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
|
|
187
|
+
|
|
188
|
+
[[package]]
|
|
189
|
+
name = "itertools"
|
|
190
|
+
version = "0.11.0"
|
|
191
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
+
checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
|
|
193
|
+
dependencies = [
|
|
194
|
+
"either",
|
|
195
|
+
]
|
|
196
|
+
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "itoa"
|
|
199
|
+
version = "1.0.15"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
|
202
|
+
|
|
203
|
+
[[package]]
|
|
204
|
+
name = "js-sys"
|
|
205
|
+
version = "0.3.77"
|
|
206
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
207
|
+
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
|
|
208
|
+
dependencies = [
|
|
209
|
+
"once_cell",
|
|
210
|
+
"wasm-bindgen",
|
|
211
|
+
]
|
|
212
|
+
|
|
213
|
+
[[package]]
|
|
214
|
+
name = "lazy_static"
|
|
215
|
+
version = "1.5.0"
|
|
216
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
217
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "libm"
|
|
221
|
+
version = "0.2.16"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "log"
|
|
227
|
+
version = "0.4.27"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
|
230
|
+
|
|
231
|
+
[[package]]
|
|
232
|
+
name = "memchr"
|
|
233
|
+
version = "2.7.4"
|
|
234
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
|
236
|
+
|
|
237
|
+
[[package]]
|
|
238
|
+
name = "miniboosts"
|
|
239
|
+
version = "0.5.2"
|
|
240
|
+
dependencies = [
|
|
241
|
+
"clarabel",
|
|
242
|
+
"colored",
|
|
243
|
+
"fixedbitset",
|
|
244
|
+
"libm",
|
|
245
|
+
"rayon",
|
|
246
|
+
"serde",
|
|
247
|
+
]
|
|
248
|
+
|
|
249
|
+
[[package]]
|
|
250
|
+
name = "miniboosts-example"
|
|
251
|
+
version = "0.5.2"
|
|
252
|
+
dependencies = [
|
|
253
|
+
"miniboosts",
|
|
254
|
+
]
|
|
255
|
+
|
|
256
|
+
[[package]]
|
|
257
|
+
name = "num-traits"
|
|
258
|
+
version = "0.2.19"
|
|
259
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
261
|
+
dependencies = [
|
|
262
|
+
"autocfg",
|
|
263
|
+
]
|
|
264
|
+
|
|
265
|
+
[[package]]
|
|
266
|
+
name = "once_cell"
|
|
267
|
+
version = "1.21.3"
|
|
268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "proc-macro2"
|
|
273
|
+
version = "1.0.94"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
|
|
276
|
+
dependencies = [
|
|
277
|
+
"unicode-ident",
|
|
278
|
+
]
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "quote"
|
|
282
|
+
version = "1.0.40"
|
|
283
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
+
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
|
|
285
|
+
dependencies = [
|
|
286
|
+
"proc-macro2",
|
|
287
|
+
]
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "rayon"
|
|
291
|
+
version = "1.12.0"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
294
|
+
dependencies = [
|
|
295
|
+
"either",
|
|
296
|
+
"rayon-core",
|
|
297
|
+
]
|
|
298
|
+
|
|
299
|
+
[[package]]
|
|
300
|
+
name = "rayon-core"
|
|
301
|
+
version = "1.13.0"
|
|
302
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
303
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
304
|
+
dependencies = [
|
|
305
|
+
"crossbeam-deque",
|
|
306
|
+
"crossbeam-utils",
|
|
307
|
+
]
|
|
308
|
+
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "ryu"
|
|
311
|
+
version = "1.0.20"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|
314
|
+
|
|
315
|
+
[[package]]
|
|
316
|
+
name = "serde"
|
|
317
|
+
version = "1.0.229"
|
|
318
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
320
|
+
dependencies = [
|
|
321
|
+
"serde_core",
|
|
322
|
+
"serde_derive",
|
|
323
|
+
]
|
|
324
|
+
|
|
325
|
+
[[package]]
|
|
326
|
+
name = "serde-big-array"
|
|
327
|
+
version = "0.5.1"
|
|
328
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
329
|
+
checksum = "11fc7cc2c76d73e0f27ee52abbd64eec84d46f370c88371120433196934e4b7f"
|
|
330
|
+
dependencies = [
|
|
331
|
+
"serde",
|
|
332
|
+
]
|
|
333
|
+
|
|
334
|
+
[[package]]
|
|
335
|
+
name = "serde_core"
|
|
336
|
+
version = "1.0.229"
|
|
337
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
338
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
339
|
+
dependencies = [
|
|
340
|
+
"serde_derive",
|
|
341
|
+
]
|
|
342
|
+
|
|
343
|
+
[[package]]
|
|
344
|
+
name = "serde_derive"
|
|
345
|
+
version = "1.0.229"
|
|
346
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
347
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
348
|
+
dependencies = [
|
|
349
|
+
"proc-macro2",
|
|
350
|
+
"quote",
|
|
351
|
+
"syn 3.0.6",
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
[[package]]
|
|
355
|
+
name = "serde_json"
|
|
356
|
+
version = "1.0.140"
|
|
357
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
358
|
+
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
|
|
359
|
+
dependencies = [
|
|
360
|
+
"itoa",
|
|
361
|
+
"memchr",
|
|
362
|
+
"ryu",
|
|
363
|
+
"serde",
|
|
364
|
+
]
|
|
365
|
+
|
|
366
|
+
[[package]]
|
|
367
|
+
name = "strsim"
|
|
368
|
+
version = "0.10.0"
|
|
369
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
370
|
+
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
|
371
|
+
|
|
372
|
+
[[package]]
|
|
373
|
+
name = "syn"
|
|
374
|
+
version = "1.0.109"
|
|
375
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
376
|
+
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
|
377
|
+
dependencies = [
|
|
378
|
+
"proc-macro2",
|
|
379
|
+
"quote",
|
|
380
|
+
"unicode-ident",
|
|
381
|
+
]
|
|
382
|
+
|
|
383
|
+
[[package]]
|
|
384
|
+
name = "syn"
|
|
385
|
+
version = "2.0.100"
|
|
386
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
387
|
+
checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
|
|
388
|
+
dependencies = [
|
|
389
|
+
"proc-macro2",
|
|
390
|
+
"quote",
|
|
391
|
+
"unicode-ident",
|
|
392
|
+
]
|
|
393
|
+
|
|
394
|
+
[[package]]
|
|
395
|
+
name = "syn"
|
|
396
|
+
version = "3.0.6"
|
|
397
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
|
+
checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
|
|
399
|
+
dependencies = [
|
|
400
|
+
"proc-macro2",
|
|
401
|
+
"quote",
|
|
402
|
+
"unicode-ident",
|
|
403
|
+
]
|
|
404
|
+
|
|
405
|
+
[[package]]
|
|
406
|
+
name = "thiserror"
|
|
407
|
+
version = "1.0.69"
|
|
408
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
409
|
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
|
410
|
+
dependencies = [
|
|
411
|
+
"thiserror-impl",
|
|
412
|
+
]
|
|
413
|
+
|
|
414
|
+
[[package]]
|
|
415
|
+
name = "thiserror-impl"
|
|
416
|
+
version = "1.0.69"
|
|
417
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
418
|
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
|
419
|
+
dependencies = [
|
|
420
|
+
"proc-macro2",
|
|
421
|
+
"quote",
|
|
422
|
+
"syn 2.0.100",
|
|
423
|
+
]
|
|
424
|
+
|
|
425
|
+
[[package]]
|
|
426
|
+
name = "unicode-ident"
|
|
427
|
+
version = "1.0.18"
|
|
428
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
429
|
+
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
|
430
|
+
|
|
431
|
+
[[package]]
|
|
432
|
+
name = "wasm-bindgen"
|
|
433
|
+
version = "0.2.100"
|
|
434
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
435
|
+
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
|
|
436
|
+
dependencies = [
|
|
437
|
+
"cfg-if",
|
|
438
|
+
"once_cell",
|
|
439
|
+
"wasm-bindgen-macro",
|
|
440
|
+
]
|
|
441
|
+
|
|
442
|
+
[[package]]
|
|
443
|
+
name = "wasm-bindgen-backend"
|
|
444
|
+
version = "0.2.100"
|
|
445
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
446
|
+
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
|
|
447
|
+
dependencies = [
|
|
448
|
+
"bumpalo",
|
|
449
|
+
"log",
|
|
450
|
+
"proc-macro2",
|
|
451
|
+
"quote",
|
|
452
|
+
"syn 2.0.100",
|
|
453
|
+
"wasm-bindgen-shared",
|
|
454
|
+
]
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "wasm-bindgen-macro"
|
|
458
|
+
version = "0.2.100"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"quote",
|
|
463
|
+
"wasm-bindgen-macro-support",
|
|
464
|
+
]
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "wasm-bindgen-macro-support"
|
|
468
|
+
version = "0.2.100"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
|
|
471
|
+
dependencies = [
|
|
472
|
+
"proc-macro2",
|
|
473
|
+
"quote",
|
|
474
|
+
"syn 2.0.100",
|
|
475
|
+
"wasm-bindgen-backend",
|
|
476
|
+
"wasm-bindgen-shared",
|
|
477
|
+
]
|
|
478
|
+
|
|
479
|
+
[[package]]
|
|
480
|
+
name = "wasm-bindgen-shared"
|
|
481
|
+
version = "0.2.100"
|
|
482
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
483
|
+
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
|
|
484
|
+
dependencies = [
|
|
485
|
+
"unicode-ident",
|
|
486
|
+
]
|
|
487
|
+
|
|
488
|
+
[[package]]
|
|
489
|
+
name = "web-time"
|
|
490
|
+
version = "0.2.4"
|
|
491
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
492
|
+
checksum = "aa30049b1c872b72c89866d458eae9f20380ab280ffd1b1e18df2d3e2d98cfe0"
|
|
493
|
+
dependencies = [
|
|
494
|
+
"js-sys",
|
|
495
|
+
"wasm-bindgen",
|
|
496
|
+
]
|
|
497
|
+
|
|
498
|
+
[[package]]
|
|
499
|
+
name = "windows-sys"
|
|
500
|
+
version = "0.59.0"
|
|
501
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
502
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
503
|
+
dependencies = [
|
|
504
|
+
"windows-targets",
|
|
505
|
+
]
|
|
506
|
+
|
|
507
|
+
[[package]]
|
|
508
|
+
name = "windows-targets"
|
|
509
|
+
version = "0.52.6"
|
|
510
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
512
|
+
dependencies = [
|
|
513
|
+
"windows_aarch64_gnullvm",
|
|
514
|
+
"windows_aarch64_msvc",
|
|
515
|
+
"windows_i686_gnu",
|
|
516
|
+
"windows_i686_gnullvm",
|
|
517
|
+
"windows_i686_msvc",
|
|
518
|
+
"windows_x86_64_gnu",
|
|
519
|
+
"windows_x86_64_gnullvm",
|
|
520
|
+
"windows_x86_64_msvc",
|
|
521
|
+
]
|
|
522
|
+
|
|
523
|
+
[[package]]
|
|
524
|
+
name = "windows_aarch64_gnullvm"
|
|
525
|
+
version = "0.52.6"
|
|
526
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
527
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
528
|
+
|
|
529
|
+
[[package]]
|
|
530
|
+
name = "windows_aarch64_msvc"
|
|
531
|
+
version = "0.52.6"
|
|
532
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
533
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
534
|
+
|
|
535
|
+
[[package]]
|
|
536
|
+
name = "windows_i686_gnu"
|
|
537
|
+
version = "0.52.6"
|
|
538
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
539
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
540
|
+
|
|
541
|
+
[[package]]
|
|
542
|
+
name = "windows_i686_gnullvm"
|
|
543
|
+
version = "0.52.6"
|
|
544
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
545
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
546
|
+
|
|
547
|
+
[[package]]
|
|
548
|
+
name = "windows_i686_msvc"
|
|
549
|
+
version = "0.52.6"
|
|
550
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
552
|
+
|
|
553
|
+
[[package]]
|
|
554
|
+
name = "windows_x86_64_gnu"
|
|
555
|
+
version = "0.52.6"
|
|
556
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
557
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
558
|
+
|
|
559
|
+
[[package]]
|
|
560
|
+
name = "windows_x86_64_gnullvm"
|
|
561
|
+
version = "0.52.6"
|
|
562
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
563
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
564
|
+
|
|
565
|
+
[[package]]
|
|
566
|
+
name = "windows_x86_64_msvc"
|
|
567
|
+
version = "0.52.6"
|
|
568
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
569
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "3"
|
|
3
|
+
members = ["img/example"]
|
|
4
|
+
exclude = ["python", "web"]
|
|
5
|
+
|
|
6
|
+
[workspace.package]
|
|
7
|
+
version = "0.5.2"
|
|
8
|
+
rust-version = "1.85"
|
|
9
|
+
license = "MIT"
|
|
10
|
+
repository = "https://github.com/rmitsuboshi/miniboosts"
|
|
11
|
+
|
|
12
|
+
[package]
|
|
13
|
+
name = "miniboosts"
|
|
14
|
+
version.workspace = true
|
|
15
|
+
edition = "2024"
|
|
16
|
+
rust-version.workspace = true
|
|
17
|
+
description = "A collection of boosting algorithms for research and comparison."
|
|
18
|
+
license.workspace = true
|
|
19
|
+
repository.workspace = true
|
|
20
|
+
readme = "README.md"
|
|
21
|
+
keywords = ["boosting", "machine-learning"]
|
|
22
|
+
categories = ["science"]
|
|
23
|
+
include = ["/src/**", "/tests/**", "/docs/logging.md", "/README.md", "/MIGRATION.md", "/RELEASING.md", "/LICENSE", "/Cargo.lock"]
|
|
24
|
+
|
|
25
|
+
[dependencies]
|
|
26
|
+
serde = { version = "1.0.229", features = ["rc", "derive", "alloc"] }
|
|
27
|
+
rayon = "1.12.0"
|
|
28
|
+
fixedbitset = "0.5.7"
|
|
29
|
+
colored = "3.1.1"
|
|
30
|
+
clarabel = "0.11.1"
|
|
31
|
+
libm = "0.2.16"
|
miniboosts-0.5.2/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Mitsuboshi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|