Commit Graph

492 Commits

Author SHA1 Message Date
Chris McComb
eb4b49d552 Added additional doctest and fixed indices (#141) 2022-11-08 11:29:56 -05:00
morenol
98e3465e7b Fix clippy warnings (#139)
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-08 11:29:56 -05:00
ferrouille
ea39024fd2 Add SVC::decision_function (#135) 2022-11-08 11:29:56 -05:00
dependabot[bot]
4e94feb872 Update nalgebra requirement from 0.23.0 to 0.31.0 (#128)
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.31.0)

---
updated-dependencies:
- dependency-name: nalgebra
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 11:29:56 -05:00
dependabot-preview[bot]
fa802d2d3f 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-11-08 11:29:56 -05: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
Lorenzo (Mec-iS)
cc91e31a0e minor fixes 2022-11-07 13:00:51 +00:00
Lorenzo (Mec-iS)
0ec89402e8 minor fix 2022-11-07 12:50:32 +00:00
Lorenzo (Mec-iS)
23b3699730 Release 0.3 2022-11-07 12:48:44 +00:00
Lorenzo
aab3817c58 Create DEVELOPERS.md 2022-11-04 22:23:36 +00:00
Lorenzo
d3a496419d Update README.md 2022-11-04 22:17:55 +00:00
Lorenzo
ab18f127a0 Update README.md 2022-11-04 22:11:54 +00:00
morenol
425c3c1d0b Use Box in SVM and remove lifetimes (#228)
* Do not change external API
Authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-04 22:08:30 +00:00
morenol
35fe68e024 Fix CI (#227)
* Update ci.yml
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-03 13:48:16 -05:00
Lorenzo
d592b628be Implement CSV reader with new traits (#209) 2022-11-03 15:49:00 +00:00
Lorenzo (Mec-iS)
b66afa9222 Improve options conditionals 2022-11-03 14:58:05 +00:00
Lorenzo (Mec-iS)
ba70bb941f Implement Display for NaiveBayes 2022-11-03 14:18:56 +00:00
Lorenzo (Mec-iS)
d298709040 cargo clippy 2022-11-03 13:44:27 +00:00
Lorenzo (Mec-iS)
e50b4e8637 Fix signature of metrics tests 2022-11-03 13:40:54 +00:00
Lorenzo (Mec-iS)
26b72b67f4 Add kernels' parameters to public interface 2022-11-03 12:30:43 +00:00
Lorenzo
1964424589 Fix svr tests (#222) 2022-11-03 11:48:40 +00:00
Lorenzo (Mec-iS)
deac31a2ab Refactor modules structure in src/svm 2022-11-02 15:28:50 +00:00
Lorenzo (Mec-iS)
4cff7da50d Merge branch 'development' of github.com:smartcorelib/smartcore into development 2022-11-02 15:24:06 +00:00
Lorenzo (Mec-iS)
df0ae907f7 clean up svm 2022-11-02 15:23:56 +00:00
Lorenzo
cfbd45bfc0 Support Wasi as target (#216)
* Improve features
* Add wasm32-wasi as a target
* Update .github/workflows/ci.yml
Co-authored-by: morenol <22335041+morenol@users.noreply.github.com>
2022-11-02 15:22:38 +00:00
Lorenzo
b60329ca5d Disambiguate distances. Implement Fastpair. (#220) 2022-11-02 14:53:28 +00:00
morenol
4b096ad558 build: fix compilation without default features (#218)
* build: fix compilation with optional features
* Remove unused config from Cargo.toml
* Fix cache keys
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-02 10:09:03 +00:00