Lorenzo
b6e32fb328
Update README.md ( #330 )
2025-09-28 16:04:12 +01:00
Lorenzo
948d78a4d0
Create CITATION.cff ( #329 )
2025-09-28 15:50:50 +01:00
Lorenzo
448b6f77e3
Update README.md ( #328 )
2025-09-28 15:43:46 +01:00
Lorenzo
09be4681cf
Implement cosine similarity and cosinepair ( #327 )
...
* Implement cosine similarity and cosinepair
v0.4.3
2025-09-27 11:08:57 +01:00
Daniel Lacina
4841791b7e
implemented extra trees ( #320 )
...
* implemented extra trees
* implemented extra trees
v0.4.2
2025-07-12 18:37:11 +01:00
Daniel Lacina
9fef05ecc6
refactored random forest regressor into reusable compoennts ( #318 )
2025-07-12 15:56:49 +01:00
Daniel Lacina
c5816b0e1b
refactored decision tree into reusable components ( #316 )
...
* refactored decision tree into reusable components
* got rid of api code from base tree because its an implementation detail
* got rid of api code from base tree because its an implementation detail
* changed name
2025-07-12 11:25:53 +01:00
Daniel Lacina
5cc5528367
implemented xgdboost_regression ( #314 )
...
* implemented xgd_regression
2025-07-09 15:25:45 +01:00
Daniel Lacina
d459c48372
implemented single linkage clustering ( #313 )
...
* implemented single linkage clustering
---------
Co-authored-by: Lorenzo Mec-iS <tunedconsulting@gmail.com >
2025-07-03 18:05:54 +01:00
Daniel Lacina
730c0d64df
implemented multiclass for svc ( #308 )
...
* implemented multiclass for svc
* modified the multiclass svc so it doesnt modify the current api
2025-06-16 11:00:11 +01:00
Lorenzo
44424807a0
Implement SVR and SVR kernels with Enum. Add tests for argsort_mut ( #303 )
...
* Add tests for argsort_mut
* Add formatting and cleaning up .github directory
* fix clippy error. suggestion to use .contains()
* define type explicitly for variable jstack
* Implement kernel as enumerator
* basic svr and svr_params implementation
* Complete enum implementation for Kernels. Implement search grid for SVR. Add documentation.
* Fix serde configuration in cargo clippy
* Implement search parameters (#304 )
* Implement SVR kernels as enumerator
* basic svr and svr_params implementation
* Implement search grid for SVR. Add documentation.
* Fix serde configuration in cargo clippy
* Fix wasm32 typetag
* fix typetag
* Bump to version 0.4.2
2025-06-02 11:01:46 +01:00
morenol
76d1ef610d
Update Cargo.toml ( #299 )
...
* Update Cargo.toml
* chore: fix clippy
* chore: bump actions
* chore: fix clippy
* chore: update target name
---------
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com >
v0.4.1
2025-04-24 23:24:29 -04:00
Lorenzo
4092e24c2a
Update README.md
2025-02-04 14:26:53 +00:00
Lorenzo
17dc9f3bbf
Add ordered pairs for FastPair ( #252 )
...
* Add ordered_pairs method to FastPair
* add tests to fastpair
2025-01-28 00:48:08 +00:00
Lorenzo
c8ec8fec00
Fix #245 : return error for NaN in naive bayes ( #246 )
...
* Fix #245 : return error for NaN in naive bayes
* Implement error handling for NaN values in NBayes predict:
* general behaviour has been kept unchanged according to original tests in `mod.rs`
* aka: error is returned only if all the predicted probabilities are NaN
* Add tests
* Add test with static values
* Add test for numerical stability with numpy
2025-01-27 23:17:55 +00:00
Lorenzo
3da433f757
Implement predict_proba for DecisionTreeClassifier ( #287 )
...
* Implement predict_proba for DecisionTreeClassifier
* Some automated fixes suggested by cargo clippy --fix
2025-01-20 18:50:00 +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