Skip to content

make default params available to serde - #167

Merged
morenol merged 6 commits into
smartcorelib:developmentfrom
postgresml:montana/serde_default
Sep 22, 2022
Merged

morenol merged 6 commits into
smartcorelib:developmentfrom
postgresml:montana/serde_default

Conversation

@montanalow

Copy link
Copy Markdown
Contributor

Implements #165 for all algorithms.

  • SVMSearchParams & DecisionTreeSearchParams were missing the new seeds from regular params, so this completes that update as well.

@montanalow

Copy link
Copy Markdown
Contributor Author

Ah, wasn't testing with --all-features... Needs more work.

@montanalow
montanalow force-pushed the montana/serde_default branch from 77b295d to 1e85bee Compare September 21, 2022 23:14
@codecov-commenter

codecov-commenter commented Sep 21, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #167 (2e43285) into development (403d3f2) will increase coverage by 0.10%.
The diff coverage is 100.00%.

❗ Current head 2e43285 differs from pull request most recent head 369283f. Consider uploading reports for the commit 369283f to get more accurate results

@@               Coverage Diff               @@
##           development     #167      +/-   ##
===============================================
+ Coverage        84.40%   84.51%   +0.10%     
===============================================
  Files               86       86              
  Lines             9921     9944      +23     
===============================================
+ Hits              8374     8404      +30     
+ Misses            1547     1540       -7     
Impacted Files Coverage Δ
src/cluster/kmeans.rs 87.71% <ø> (ø)
src/decomposition/pca.rs 89.34% <ø> (ø)
src/decomposition/svd.rs 74.60% <ø> (ø)
src/ensemble/random_forest_classifier.rs 74.21% <ø> (ø)
src/ensemble/random_forest_regressor.rs 75.23% <ø> (ø)
src/linear/elastic_net.rs 78.53% <ø> (ø)
src/linear/lasso.rs 74.64% <ø> (ø)
src/naive_bayes/bernoulli.rs 74.05% <ø> (ø)
src/naive_bayes/categorical.rs 84.02% <ø> (ø)
src/naive_bayes/gaussian.rs 86.61% <ø> (ø)
... and 14 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@montanalow

Copy link
Copy Markdown
Contributor Author

Rebased to pickup the seed params from the other PRs, and implemented defaults for all Enums for serde.

@morenol
morenol merged commit 764309e into smartcorelib:development Sep 22, 2022
morenol added a commit that referenced this pull request Sep 22, 2022
* 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

* 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>

* add seed param to search params (#168)

* 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

Co-authored-by: morenol <22335041+morenol@users.noreply.github.com>
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
morenol pushed a commit that referenced this pull request Nov 8, 2022
* add seed param to search params

* make default params available to serde

* lints

* create defaults for enums

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants