Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iter fold for fit #1

Closed
wants to merge 7 commits into from
Closed

Iter fold for fit #1

wants to merge 7 commits into from

Conversation

Sauro98
Copy link
Owner

@Sauro98 Sauro98 commented Jan 7, 2021

rust-ml#70 iter fold

bytesnake and others added 7 commits December 16, 2020 17:18
This commit puts datasets into a separate crate called `linfa-datasets`
* Add fit method for gaussian naive bayes

* Add predict method for gaussian naive bayes

* Fix partial_fit method for gaussian naive bayes

* Add error variants for gaussian naive bayes

* Make partial_fit method take in view matrices

* Add example for gaussian naive bayes

* Add comments and documentation

* Remove unwrap from doc examples

* Reformat the 2*pi calculation

* Fix typos

* Add reference to linfa-bayes

* Refactor partial_fit api

* Refactor for new Fit and Predict api

* Make api work with Dataset::split_with_ratio method

* Refactor incremental fit api
* Renamed Dataset to DatasetBase in all subcrates. Added new types Dataset and DatasetView

* impl all method except k-fold, update dataset crate

* Dropped vec implementation. Adjusted svm accordingly

* k-folding with axis_chunks_iter

* renamed Dataset to DatasetBase in naive bayes

* swapping for k-fold, dropped vec impl
* added tests for sparse.rs

* a happy clippy is a good clippy

* started testing lib.rs

* added lib.rs tests

* added lib.rs documentation

* fixed to_upper_traing, tested to_upper_triang, weighted sum

* fixed upper_traing test and adjusted svm test

* fmt
@Sauro98 Sauro98 closed this Jan 7, 2021
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