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
morenol
aeddbc8a21
Merge pull request #25 from morenol/lmm/utils
...
Add capability to convert a slice to a BaseVector
2020-11-12 17:49:29 -04:00
Luis Moreno
6587ac032b
Rename to from_array
2020-11-11 22:23:56 -04:00
Luis Moreno
49487bccd3
Rename trait function
2020-11-11 22:10:01 -04:00
Luis Moreno
900078cb04
Implement abstract method to convert a slice to a BaseVector, Implement RealNumberVector over BaseVector instead of over Vec<T>
2020-11-11 22:10:01 -04:00
VolodymyrOrlov
82464f41e4
Merge pull request #23 from smartcorelib/ridge
...
Ridge regression
2020-11-11 17:59:24 -08:00
Volodymyr Orlov
830a0d9194
fix: formatting
2020-11-11 17:26:49 -08:00
Volodymyr Orlov
f0371673a4
fix: changes recommended by Clippy
2020-11-11 17:23:49 -08:00
VolodymyrOrlov
8f72716fe9
Merge branch 'development' into ridge
2020-11-11 16:12:34 -08:00
Volodymyr Orlov
cc26555bfd
fix: fixes suggested by Clippy
2020-11-11 16:10:37 -08:00
Volodymyr Orlov
c42fccdc22
fix: ridge regression, code refactoring
2020-11-11 15:59:04 -08:00
morenol
b86c553bb1
Merge pull request #24 from morenol/lmm/clippy_ci
...
Add clippy CI job
2020-11-11 17:11:52 -04:00
Volodymyr Orlov
7a4fe114d8
fix: ridge regression, formatting
2020-11-11 12:01:57 -08:00
Volodymyr Orlov
ca3a3a101c
fix: ridge regression, post-review changes
2020-11-11 12:00:58 -08:00
Luis Moreno
f46d3ba94c
Address feedback
2020-11-10 21:24:08 -04:00
Luis Moreno
85d2ecd1c9
Fix clippy errors after --all-features was enabled
2020-11-10 21:24:04 -04:00
morenol
126b306681
Update .circleci/config.yml
...
Co-authored-by: VolodymyrOrlov <volodymyr.orlov@gmail.com >
2020-11-10 20:50:41 -04:00
Luis Moreno
18df9c758c
Fix clippy::map_entry
2020-11-10 00:36:54 -04:00
Luis Moreno
d620f225ee
Fix new warnings after rustup update
2020-11-10 00:20:26 -04:00
Luis Moreno
c756496b71
Fix clippy::len_without_is_empty
2020-11-09 16:36:43 -04:00
morenol
3d4d5f64f6
feat: add Naive Bayes and CategoricalNB ( #15 )
...
* feat: Implement Naive Bayes classifier
* Implement CategoricalNB
2020-11-09 15:54:27 -04:00
Luis Moreno
5e887634db
Fix clippy::comparison_chain
2020-11-09 00:02:22 -04:00