Commit Graph

34 Commits

Author SHA1 Message Date
morenol
a37b552a7d Lmm/add seeds in more algorithms (#164)
* Provide better output in flaky tests

* feat: add seed parameter to multiple algorithms

* Update changelog

Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-08 11:29:56 -05:00
morenol
851533dfa7 Make rand_distr optional (#161) 2022-11-08 11:29:56 -05:00
morenol
f291b71f4a fix: fix compilation warnings when running only with default features (#160)
* fix: fix compilation warnings when running only with default features
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-08 11:29:56 -05:00
dependabot[bot]
44e4be23a6 Update criterion requirement from 0.3 to 0.4 (#150)
* Update criterion requirement from 0.3 to 0.4

Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.0...0.4.0)

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

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

* fix criterion

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
2022-11-08 11:29:56 -05:00
Lorenzo
dc7f01db4a Implement fastpair (#142)
* initial fastpair implementation
* FastPair initial implementation
* implement fastpair
* Add random test
* Add bench for fastpair
* Refactor with constructor for FastPair
* Add serialization for PairwiseDistance
* Add fp_bench feature for fastpair bench
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
Volodymyr Orlov
7ea620e6fd Updates version to 0.2.1 2022-05-09 16:03:05 -07:00
dependabot-preview[bot]
513d3898c9 build(deps): update num requirement from 0.3.0 to 0.4.0
Updates the requirements on [num](https://github.com/rust-num/num) to permit the latest version.
- [Release notes](https://github.com/rust-num/num/releases)
- [Changelog](https://github.com/rust-num/num/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num/compare/num-0.3.0...num-0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 21:44:02 +00:00
dependabot-preview[bot]
5a2e1f1262 build(deps): update ndarray requirement from 0.14 to 0.15
Updates the requirements on [ndarray](https://github.com/rust-ndarray/ndarray) to permit the latest version.
- [Release notes](https://github.com/rust-ndarray/ndarray/releases)
- [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-ndarray/ndarray/compare/ndarray-rand-0.14.0...0.15.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 21:41:48 +00:00
Luis Moreno
c295a0d1bb fix: fix code to be compatible with rand 0.8, following the recommendations of https://rust-random.github.io/book/update-0.8.html and https://docs.rs/getrandom/0.2.2/getrandom/#webassembly-support 2021-04-28 16:28:43 -04:00
dependabot-preview[bot]
703dc9688b build(deps): update rand_distr requirement from 0.3.0 to 0.4.0
Updates the requirements on [rand_distr](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/rand_distr-0.3.0...rand_distr-0.4.0)
2021-04-28 16:25:05 -04:00
dependabot-preview[bot]
790979a26d build(deps): update rand requirement from 0.7.3 to 0.8.3
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.7.3...0.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 20:00:24 +00: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
Ben Cross
e0d46f430b feat: Make SerDe optional 2021-01-17 21:35:03 +00:00
Volodymyr Orlov
9475d500db feat: version change + api documentation updated 2020-12-27 18:39:37 -08:00
Luis Moreno
505f495445 fix: Update ndarray version 2020-12-16 00:20:07 -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
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
Vadim Zaliva
c43990e932 + DBSCAN and data generator. Improves KNN API 2020-10-02 14:04:01 -07:00
Volodymyr Orlov
6602de0d51 feat: pre-release 2020-09-25 18:01:32 -07:00
Volodymyr Orlov
91371831d7 feat: pre-release 2020-09-25 17:59:55 -07:00
Volodymyr Orlov
2aca488553 feat: pre-release 2020-09-25 17:52:21 -07:00
Volodymyr Orlov
b95e11cc98 feat: adds dataset module, fixs problem in CoverTree implementation 2020-09-10 12:21:59 -07:00
Volodymyr Orlov
68dca25f91 feat: puts ndarray and nalgebra bindings behind feature flags 2020-08-28 16:55:41 -07:00
Volodymyr Orlov
aa458d22fa fix: code cleanup, documentation 2020-08-27 11:37:14 -07:00
Volodymyr Orlov
7a7b0d6875 fix: updates multiple libraries 2020-08-17 08:28:28 -07:00
Volodymyr Orlov
45cf7adf37 fix: library update, CircleCI modification 2020-06-05 18:00:56 -07:00
Volodymyr Orlov
b068295dac feat: integrates with nalgebra 2020-04-06 19:16:37 -07:00
Volodymyr Orlov
8bb6013430 feat: serialization/deserialization with Serde 2020-03-31 18:19:20 -07:00
Volodymyr Orlov
7b3fa982be feat: adds PCA 2020-03-06 09:13:54 -08:00
Volodymyr Orlov
c1d7c038a6 feat: add basic Matrix implementation for ndarray 2019-12-23 10:33:19 -08:00
Volodymyr Orlov
4488cc110e First version of the optimizer 2019-10-29 08:59:06 -07:00
Volodymyr Orlov
f4d3a80490 Initial commit 2019-05-28 17:46:03 -07:00