Commit Graph

33 Commits

Author SHA1 Message Date
Montana Low
f4fd4d2239 make default params available to serde (#167)
* add seed param to search params

* make default params available to serde

* lints

* create defaults for enums

* lint
2022-11-08 11:29:56 -05:00
Montana Low
05dfffad5c add seed param to search params (#168) 2022-11-08 11:29:56 -05:00
morenol
a37b552a7d Lmm/add seeds in more algorithms (#164)
* Provide better output in flaky tests

* feat: add seed parameter to multiple algorithms

* Update changelog

Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-08 11:29:56 -05:00
Montana Low
55e1158581 Complete grid search params (#166)
* grid search draft

* hyperparam search for linear estimators

* grid search for ensembles

* support grid search for more algos

* grid search for unsupervised algos

* minor cleanup
2022-11-08 11:29:56 -05:00
Chris McComb
eb4b49d552 Added additional doctest and fixed indices (#141) 2022-11-08 11:29:56 -05:00
morenol
820201e920 Solve conflic with num-traits (#130)
* Solve conflic with num-traits

* Fix clippy warnings

Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-05-05 10:39:18 -04:00
Malte Londschien
12c102d02b Allow setting seed for RandomForestClassifier and Regressor (#120)
* Seed for the classifier.

* Seed for the regressor.

* Forgot one.

* typo.
2021-11-10 20:51:24 -04:00
Luis Moreno
4397c91570 Fix clippy warnings 2021-10-20 14:15:41 -05:00
Luis Moreno
162bed2aa2 feat: added support to wasm (#94)
* test: run tests also in wasm targets

* fix: install rand with wasm-bindgen por wasm targets

* fix: use actual usize size to access buffer.

* fix: do not run functions that create files in wasm.

* test: do not run in wasm test that panics.

Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2021-04-28 15:58:39 -04:00
Ben Cross
f1cf8a6f08 Added serde feature flags to tests 2021-01-18 10:32:35 +00:00
Ben Cross
762986b271 Cargo format 2021-01-17 21:37:30 +00:00
Ben Cross
e0d46f430b feat: Make SerDe optional 2021-01-17 21:35:03 +00:00
Volodymyr Orlov
810a5c429b feat: consolidates API 2020-12-24 18:36:23 -08:00
Volodymyr Orlov
dd341f4a12 feat: + builders for algorithm parameters 2020-12-23 12:29:39 -08:00
Volodymyr Orlov
a2be9e117f feat: + cross_validate, trait Predictor, refactoring 2020-12-22 15:41:53 -08:00
morenol
53351b2ece fix needless-range and clippy::ptr_arg warnings. (#36)
* Fix needless for loop range

* Do not ignore clippy::ptr_arg
2020-12-11 16:52:39 -04:00
Luis Moreno
43584e14e5 Fix clippy::or_fun_call 2020-11-08 23:18:29 -04:00
Luis Moreno
54886ebd72 Fix rust-2018-idioms warnings 2020-11-08 20:24:08 -04:00
Luis Moreno
860056c3ba Run: cargo clippy --fix -Z unstable-options and cargo fmt 2020-11-08 19:39:11 -04:00
Volodymyr Orlov
a9db970195 feat: refactoring, adds Result to most public API 2020-09-18 15:20:32 -07:00
Volodymyr Orlov
d28f13d849 feat: adds train/test split function; fixes bug in random forest 2020-09-13 16:23:30 -07:00
Volodymyr Orlov
bbe810d164 feat: documents matrix methods 2020-09-06 18:27:11 -07:00
Volodymyr Orlov
2c6a03ddc1 feat: documents tree 2020-09-03 17:49:58 -07:00
Volodymyr Orlov
fa0918cee3 fix: renames FloatExt to RealNumber 2020-08-29 20:17:01 -07:00
Volodymyr Orlov
14113b4152 feat: adds F1 and roc_auc_score 2020-06-08 14:47:59 -07:00
Volodymyr Orlov
a2784d6345 fix: cargo fmt 2020-06-05 17:52:03 -07:00
Volodymyr Orlov
eb0c36223f feat: adds serialization/deserialization methods 2020-04-03 11:12:15 -07:00
Volodymyr Orlov
5766364311 fix: minor refactoring 2020-03-31 18:24:01 -07:00
Volodymyr Orlov
02b85415d9 feat: extends interface of Matrix to support for broad range of types 2020-03-26 15:28:26 -07:00
Volodymyr Orlov
84ffd331cd fix: refactors decision_tree_classifier 2020-03-24 11:07:05 -07:00
Volodymyr Orlov
18243e658b fix: minor refactoring 2020-03-23 18:50:58 -07:00
Volodymyr Orlov
18dc6bdb40 fix: minor bug in decision_tree_regressor 2020-03-23 15:32:06 -07:00
Volodymyr Orlov
6577e22111 fix: minor refactoring 2020-03-20 15:58:10 -07:00