Lorenzo Mec-iS
40ee35b04f
Implement predict_proba for RandomForestClassifier
2025-01-20 17:15:52 +00:00
Lorenzo Mec-iS
5711788fd8
add proper error handling
2025-01-20 16:08:29 +00:00
Lorenzo Mec-iS
fc7f2e61d9
format
2025-01-20 15:27:39 +00:00
Lorenzo Mec-iS
609f8024bc
more clippy fixes
2025-01-20 15:23:36 +00:00
Lorenzo Mec-iS
58ee0cb8d1
Some automated fixes suggested by cargo clippy --fix
2025-01-20 15:04:21 +00:00
Lorenzo Mec-iS
68fd27f8f4
Implement predict_proba for DecisionTreeClassifier
2025-01-20 14:59:50 +00:00
dependabot[bot]
4523ac73ff
Update itertools requirement from 0.12.0 to 0.13.0 ( #280 )
...
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools ) to permit the latest version.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.4.0
2024-11-25 11:47:23 -04:00
morenol
ba75f9ffad
chore: fix clippy ( #283 )
...
* chore: fix clippy
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
2024-11-25 11:34:29 -04:00
Lorenzo
239c00428f
Patch to version 0.4.0 ( #257 )
...
* uncomment test
* Add random test for logistic regression
* linting
* Bump version
* Add test for logistic regression
* linting
* initial commit
* final
* final-clean
* Bump to 0.4.0
* Fix linter
* cleanup
* Update CHANDELOG with breaking changes
* Update CHANDELOG date
* Add functional methods to DenseMatrix implementation
* linting
* add type declaration in test
* Fix Wasm tests failing
* linting
* fix tests
* linting
* Add type annotations on BBDTree constructor
* fix clippy
* fix clippy
* fix tests
* bump version
* run fmt. fix changelog
---------
Co-authored-by: Edmund Cape <edmund@Edmunds-MacBook-Pro.local >
2024-03-04 08:51:27 -05:00
morenol
80a93c1a0e
chore: fix clippy ( #276 )
...
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
2024-02-25 00:17:30 -05:00
Tushushu
4eadd16ce4
Implement the feature importance for Decision Tree Classifier ( #275 )
...
* store impurity in the node
* add number of features
* add a TODO
* draft feature importance
* feat
* n_samples of node
* compute_feature_importances
* unit tests
* always calculate impurity
* fix bug
* fix linter
2024-02-24 23:37:30 -05:00
Frédéric Meyer
886b5631b7
In Naive Bayes, avoid using Option::unwrap and so avoid panicking from NaN values ( #274 )
2024-01-10 14:59:10 -04:00
dependabot[bot]
9c07925d8a
Update itertools requirement from 0.11.0 to 0.12.0 ( #271 )
...
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools ) to permit the latest version.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 22:00:34 -04:00
morenol
6f22bbd150
chore: update clippy lints ( #272 )
...
* chore: fix clippy lints
---------
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
2023-11-20 21:54:09 -04:00
dependabot[bot]
dbdc2b2a77
Update itertools requirement from 0.10.5 to 0.11.0 ( #266 )
...
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools ) to permit the latest version.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.11.0 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 17:56:42 +01:00
Lorenzo
2d7c055154
Bump version
2023-05-01 13:20:17 +01:00
Ruben De Smet
545ed6ce2b
Remove some allocations ( #262 )
...
* Remove some allocations
* Remove some more allocations
2023-04-26 21:46:26 +08:00
morenol
8939ed93b9
chore: fix clippy warnings from Rust release 1.69 ( #263 )
...
* chore: fix clippy warnings from Rust release 1.69
* chore: run `cargo fmt`
* refactor: remove unused type parameter
---------
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
2023-04-26 01:35:58 +09:00
Lorenzo
9cd7348403
Update CONTRIBUTING.md
2023-04-10 15:13:27 +01:00
Hsiang-Cheng Yang
d52830a818
Update arrays.rs ( #253 )
...
fix a typo
2023-03-23 19:15:54 -04:00
Lorenzo
d15ea43975
Remove failure in case of failed upload to codecov.io
2023-03-20 15:08:30 +00:00
Lorenzo
f498f9629e
Implement realnum::rand ( #251 )
...
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
Co-authored-by: Lorenzo <tunedconsulting@gmail.com >
* Implement rand. Use the new derive [#default]
* Use custom range
* Use range seed
* Bump version
* Add array length checks for
v0.3.1
2023-03-20 14:45:44 +00:00
Lorenzo
7d059c4fb1
Update README.md
2023-03-20 11:54:10 +00:00
morenol
c7353d0b57
Run cargo clippy --fix ( #250 )
...
* Run `cargo clippy --fix`
* Run `cargo clippy --all-features --fix`
* Fix other clippy warnings
* cargo fmt
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
2023-01-27 10:41:18 +00:00
Lorenzo
83dcf9a8ac
Delete iml file
2022-11-10 14:09:55 +00:00
Lorenzo (Mec-iS)
3126ee87d3
Pin deps version
2022-11-09 12:03:03 +00:00
morenol
8efb959b3c
Handle kernel serialization ( #232 )
...
* Handle kernel serialization
* Do not use typetag in WASM
* enable tests for serialization
* Update serde feature deps
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
Co-authored-by: Lorenzo <tunedconsulting@gmail.com >
2022-11-08 16:18:05 +00:00
morenol
9eaae9ef35
Fixes for release ( #237 )
...
* Fixes for release
* add new test
* Remove change applied in development branch
* Only add dependency for wasm32
* Update ci.yml
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
Co-authored-by: Lorenzo <tunedconsulting@gmail.com >
2022-11-08 16:07:14 +00:00
Lorenzo (Mec-iS)
46b6285d05
Merge release-0.3
2022-11-08 15:37:11 +00:00
Lorenzo (Mec-iS)
c683073b14
make work cargo build --target wasm32-unknown-unknown
2022-11-08 15:35:04 +00:00
Lorenzo
161d249917
Release 0.3 ( #235 )
2022-11-08 15:22:34 +00:00
Lorenzo (Mec-iS)
4558be5f73
Merge branch 'release-0.3' of github.com:smartcorelib/smartcore into release-0.3
2022-11-08 15:17:48 +00:00
Lorenzo (Mec-iS)
6c03e6e0b3
update CHANGELOG
2022-11-08 15:17:31 +00:00
Lorenzo
c934f6b6cf
update comment
2022-11-08 14:23:13 +00:00
Lorenzo (Mec-iS)
48f1d6b74d
use getrandom/js
2022-11-08 14:19:40 +00:00
Lorenzo (Mec-iS)
dad0d01f6d
Update CHANGELOG
2022-11-08 13:59:49 +00:00
Lorenzo (Mec-iS)
98b18c4dae
Remove unused tests flags
2022-11-08 13:53:50 +00:00
Lorenzo (Mec-iS)
2418b24ff4
Merge branch 'release-0.3' of github.com:smartcorelib/smartcore into release-0.3
2022-11-08 12:22:06 +00:00
Lorenzo (Mec-iS)
6c6f92697f
minor fixes to doc
2022-11-08 12:21:34 +00:00
Lorenzo
a4097fce15
minor fix
2022-11-08 12:18:35 +00:00
Lorenzo
b71c7b49cb
minor fix
2022-11-08 12:18:03 +00:00
Lorenzo
78bf75b5d8
minor fix
2022-11-08 12:17:32 +00:00
Lorenzo
a60fdaf235
minor fix
2022-11-08 12:17:04 +00:00
Lorenzo
b4206c4b08
minor fix
2022-11-08 12:15:10 +00:00
Lorenzo (Mec-iS)
3c4a807be8
Fix std_rand feature
2022-11-08 12:04:39 +00:00
Lorenzo (Mec-iS)
c1af60cafb
cleanup
2022-11-08 11:55:32 +00:00
Lorenzo (Mec-iS)
2fa454ea94
fmt
2022-11-08 11:48:14 +00:00
Lorenzo (Mec-iS)
8e6e5f9e68
Use getrandom as default (for no-std feature)
2022-11-08 11:47:31 +00:00
Lorenzo (Mec-iS)
bf7b714126
Add static analyzer to doc
2022-11-07 18:16:13 +00:00
Lorenzo (Mec-iS)
3ac6598951
Exclude datasets test for wasm/wasi
2022-11-07 13:56:29 +00:00