Commit Graph
6 Commits
Author SHA1 Message Date
LorenzoandGitHub 436da104d7 Update LICENSE 2022-09-19 18:00:17 +01:00
LorenzoandGitHub 3d2f4f71fa Add example for FastPair (#144)
* Add example

* Move to top

* Add imports to example

* Fix imports
2022-08-24 13:40:22 +01:00
Lorenzo (Mec-iS) 61db4ebd90 Add test 2022-08-24 12:34:56 +01:00
Lorenzo (Mec-iS) 2603a1f42b Add test 2022-08-24 11:44:30 +01:00
LorenzoandGitHub a1c56a859e 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-08-23 16:56:21 +01:00
LorenzoandGitHub a2588f6f45 KFold cross-validation (#8)
* Add documentation and API
* Add public keyword
* Implement test_indices (debug version)
* Return indices as Vec of Vec
* Consume vector using drain()
* Use shape() to return num of samples
* Implement test_masks
* Implement KFold.split()
* Make trait public
* Add test for split
* Fix samples in shape()
* Implement shuffle
* Simplify return values
* Use usize for n_splits
Co-authored-by: VolodymyrOrlov <volodymyr.orlov@gmail.com>
2020-10-13 10:10:28 +01:00