Tim Toebrock
d305406dfd
Implementation of Standard scaler ( #143 )
...
* docs: Fix typo in doc for categorical transformer.
* feat: Add option to take a column from Matrix.
I created the method `Matrix::take_column` that uses the `Matrix::take`-interface to extract a single column from a matrix. I need that feature in the implementation of `StandardScaler`.
* feat: Add `StandardScaler`.
Authored-by: titoeb <timtoebrock@googlemail.com >
2022-08-26 15:20:20 +01:00
Chris McComb
d905ebea15
Added additional doctest and fixed indices ( #141 )
2022-08-12 17:38:13 -04:00
dependabot-preview[bot]
322610c7fb
build(deps): update nalgebra requirement from 0.23.0 to 0.26.2 ( #98 )
...
* build(deps): update nalgebra requirement from 0.23.0 to 0.26.2
Updates the requirements on [nalgebra](https://github.com/dimforge/nalgebra ) to permit the latest version.
- [Release notes](https://github.com/dimforge/nalgebra/releases )
- [Changelog](https://github.com/dimforge/nalgebra/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/dimforge/nalgebra/compare/v0.23.0...v0.26.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* fix: updates for nalgebre
* test: explicitly call pow_mut from BaseVector since now it conflicts with nalgebra implementation
* Don't be strict with dependencies
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
2022-05-11 13:04:27 -04: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
Malte Londschien
3bf8813946
Merge branch 'development' into issue-115
2021-10-28 09:54:22 +02:00
VolodymyrOrlov
7830946ecb
Merge pull request #117 from morenol/lmm/fix_clippy
...
Fix clippy warnings
2021-10-27 11:01:16 -07:00
Luis Moreno
4397c91570
Fix clippy warnings
2021-10-20 14:15:41 -05:00
Malte Londschien
14245e15ad
type error.
2021-10-20 17:13:00 +02:00
Malte Londschien
d0a4ccbe20
Set keep_samples attribute.
2021-10-20 17:09:13 +02:00
Luis Moreno
0b3bf946df
chore: fix clippy warnings
2021-06-05 01:41:40 -04: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
Luis Moreno
d9814c0918
style(lint): fix clippy warnings
2021-04-27 09:32:01 -04:00
Luis Moreno
4af69878e0
fix: Fix new clippy warnings ( #79 )
...
* Fix new clippy warnings
* Allow clippy::suspicious-operation-groupings
2021-02-16 18:19:14 -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
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
1ce18b5296
Merge pull request #37 from smartcorelib/elasticnet
...
Elastic Net
2020-12-17 12:52:47 -08:00
Luis Moreno
505f495445
fix: Update ndarray version
2020-12-16 00:20:07 -04: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
f0b348dd6e
feat: BernoulliNB ( #31 )
...
* feat: BernoulliNB
* Move preprocessing to a trait in linalg/stats.rs
2020-12-04 20:45:40 -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
583284e66f
feat: adds LASSO
2020-11-24 19:12:53 -08:00
Luis Moreno
6587ac032b
Rename to from_array
2020-11-11 22:23:56 -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
8f72716fe9
Merge branch 'development' into ridge
2020-11-11 16:12:34 -08: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
85d2ecd1c9
Fix clippy errors after --all-features was enabled
2020-11-10 21:24:04 -04:00
Luis Moreno
c756496b71
Fix clippy::len_without_is_empty
2020-11-09 16:36:43 -04:00
Luis Moreno
5e887634db
Fix clippy::comparison_chain
2020-11-09 00:02:22 -04:00
Luis Moreno
3c1969bdf5
Fix clippy::needless_lifetimes
2020-11-08 23:59:28 -04:00
Luis Moreno
0c35adf76a
Fix clippy::let_and_return
2020-11-08 23:26:22 -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
83048dbe94
fix: small doc changes
2020-11-06 11:20:43 -08:00
Volodymyr Orlov
ab7f46603c
feat: + ridge regression
2020-11-06 10:48:00 -08:00
Volodymyr Orlov
b8fea67fd2
fix: formatting
2020-11-03 15:49:04 -08:00
Volodymyr Orlov
6473a6c4ae
feat: adds Cholesky matrix decomposition
2020-11-03 15:39:43 -08:00
Volodymyr Orlov
cf4f658f01
feat: adds 3 more SVM kernels, linalg refactoring
2020-10-28 17:10:17 -07:00
Volodymyr Orlov
20e58a8817
feat: adds e-SVR
2020-10-15 16:23:26 -07:00
Volodymyr Orlov
2aca488553
feat: pre-release
2020-09-25 17:52:21 -07:00
Volodymyr Orlov
3e541e0b8f
fix: improves SVD
2020-09-24 14:42:28 -07:00