Commit Graph

310 Commits

Author SHA1 Message Date
Ben Cross
fd00bc3780 Run the pipeline with --all-features enabled 2021-01-18 20:50:49 +00: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
Luis Moreno
eb769493e7 Add coverage check (#57)
* Add coverage check
2021-01-05 16:13:39 -04:00
VolodymyrOrlov
4a941d1700 Merge pull request #56 from atcol/patch-1
Fix Matrix typo in documentation
2021-01-05 09:14:54 -08:00
Alex
0e8166386c Fix Matrix typo in documentation 2021-01-05 16:57:14 +00:00
VolodymyrOrlov
d91999b430 Merge pull request #48 from smartcorelib/main
Merge pull request #47 from smartcorelib/development
2021-01-03 15:10:32 -08:00
VolodymyrOrlov
051023e4bb Merge pull request #47 from smartcorelib/development
Release, v0.2.0
2021-01-03 15:06:42 -08:00
Volodymyr Orlov
bb9a05b993 fix: fixes a bug in DBSCAN, removes println's 2021-01-02 18:08:40 -08:00
VolodymyrOrlov
c5a7beaf0e Merge pull request #45 from smartcorelib/api_doc
feat: version change + api documentation updated
2020-12-28 13:48:04 -08:00
Volodymyr Orlov
9475d500db feat: version change + api documentation updated 2020-12-27 18:39:37 -08:00
VolodymyrOrlov
ba16c253b9 Merge pull request #44 from smartcorelib/api
feat: consolidates API
2020-12-27 15:54:26 -08:00
Volodymyr Orlov
810a5c429b feat: consolidates API 2020-12-24 18:36:23 -08:00
VolodymyrOrlov
a69fb3aada Merge pull request #43 from smartcorelib/kfold
Kfold
2020-12-24 15:01:32 -08:00
Volodymyr Orlov
d22be7d6ae fix: post-review changes 2020-12-24 13:47:09 -08:00
Volodymyr Orlov
32ae63a577 feat: documentation adjusted to new builder 2020-12-23 12:38:10 -08:00
Volodymyr Orlov
dd341f4a12 feat: + builders for algorithm parameters 2020-12-23 12:29:39 -08:00
Volodymyr Orlov
74f0d9e6fb fix: formatting 2020-12-22 17:44:44 -08:00
Volodymyr Orlov
f685f575e0 feat: + cross_val_predict 2020-12-22 17:42:18 -08:00
Volodymyr Orlov
9b221979da fix: clippy, documentation and formatting 2020-12-22 16:35:28 -08:00
Volodymyr Orlov
a2be9e117f feat: + cross_validate, trait Predictor, refactoring 2020-12-22 15:41:53 -08:00
VolodymyrOrlov
40dfca702e Merge pull request #40 from smartcorelib/non_exhaustive_failure
feat: makes smartcore::error:FailedError non-exhaustive
2020-12-18 12:53:56 -08:00
morenol
d8d751920b Merge pull request #42 from morenol/python-development
Derive clone for NB Parameters structs,
2020-12-18 14:52:18 -04:00
Luis Moreno
c9eb94ba93 Derive clone for NB Parameters 2020-12-18 00:39:54 -04:00
VolodymyrOrlov
97dece93de Merge pull request #41 from smartcorelib/nb_documentation
feat: NB documentation
2020-12-17 20:33:33 -08:00
Volodymyr Orlov
8ca13a76d6 fix: criterion 2020-12-17 19:11:47 -08:00
Volodymyr Orlov
5a185479a7 feat: NB documentation 2020-12-17 19:00:11 -08:00
Volodymyr Orlov
f76a1d1420 feat: makes smartcore::error:FailedError non-exhaustive 2020-12-17 13:01:45 -08:00
VolodymyrOrlov
2c892aa603 Merge pull request #38 from smartcorelib/svd
Singular Value Decomposition (SVD)
2020-12-17 12:53:21 -08:00
VolodymyrOrlov
1ce18b5296 Merge pull request #37 from smartcorelib/elasticnet
Elastic Net
2020-12-17 12:52:47 -08:00
morenol
413f1a0f55 Merge pull request #39 from morenol/lmm/update_ndarray
fix: Update ndarray version
2020-12-16 18:38:00 -04:00
Luis Moreno
505f495445 fix: Update ndarray version 2020-12-16 00:20:07 -04:00
Volodymyr Orlov
d39b04e549 fix: fmt 2020-12-14 15:03:10 -08:00
Volodymyr Orlov
74a7c45c75 feat: adds SVD 2020-12-14 14:59:02 -08:00
Volodymyr Orlov
cceb2f046d feat: lasso documentation 2020-12-13 13:35:14 -08:00
Volodymyr Orlov
a27c29b736 Merge branch 'development' into elasticnet 2020-12-11 18:59:04 -08:00
Volodymyr Orlov
78673b597f feat: adds elastic net 2020-12-11 18:55:07 -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
morenol
2650416235 Add benches for GNB (#33)
* Add benches for GNB

* use [black_box](https://github.com/bheisler/criterion.rs/blob/master/book/src/faq.md#when-should-i-use-criterionblack_box)
2020-12-04 20:46:36 -04:00
morenol
f0b348dd6e feat: BernoulliNB (#31)
* feat: BernoulliNB

* Move preprocessing to a trait in linalg/stats.rs
2020-12-04 20:45:40 -04:00
morenol
4720a3a4eb MultinomialNB (#32)
feat: add MultinomialNB
2020-12-03 09:51:33 -04:00
VolodymyrOrlov
c172c407d2 Merge pull request #35 from smartcorelib/lasso
LASSO
2020-12-02 17:34:54 -08:00
Volodymyr Orlov
67e5829877 simplifies generic matrix.ab implementation 2020-11-25 12:23:04 -08:00
morenol
89a5136191 Change implementation of to_row_vector for nalgebra (#34)
* Add failing test

* Change implementation of to_row_vector for nalgebra
2020-11-25 14:39:02 -04:00
Volodymyr Orlov
f9056f716a lasso: minor change in unit test 2020-11-24 19:21:27 -08:00
Volodymyr Orlov
583284e66f feat: adds LASSO 2020-11-24 19:12:53 -08:00
morenol
9db993939e Add serde to CategoricalNB (#30)
* Add serde to CategoricalNB

* Implement PartialEq for CategoricalNBDistribution
2020-11-19 16:07:10 -04:00
morenol
ad3ac49dde Implement GaussianNB (#27)
* feat: Add GaussianNB
2020-11-19 14:19:22 -04:00
morenol
72e9f8293f Use log likelihood to make calculations more stable (#28)
* Use log likelihood to make calculations more stable

* Fix problem with class_count in categoricalnb

* Use a similar approach to the one used in scikitlearn to define which are the possible categories of each feature.
2020-11-16 23:56:50 -04:00