Repository navigation
What's Changed
Linfa's 0.9.0 release adds Hamerly's accelerated K-means and the Wasserstein distance, brings browser WASM support, and fixes several metrics and algorithms whose results did not match their reference definitions.
- [
linfa]:- Add generic
ResidualChaincomposing method by @Feiyang472 in #430 - Add browser WASM feature support by @LucaCappelletti94 in #438
- Add symmetric mean absolute percentage error (sMAPE) by @oglego in #437
- Fix
explained_varianceregression metric to match scikit-learn by @teddytennant in #447 - Fix multiclass macro F-score to average per-class scores by @binggao1230 in #448
- Fix ROC curve to start at the origin when scores are zero by @bardrop in #475
- Add generic
- [
linfa-clustering]: - [
linfa-elasticnet]: FixMultiTaskElasticNet::default_targetshape by @whispem in #462 - [
linfa-ensemble]: Support serde serialization of ensemble models by @dbrundu in #450 - [
linfa-kernel]: Vectorise the dense Gaussian kernel across points by @mtantaoui in #465 - [
linfa-lars]: Fix theserdefeature by @relf in #476 - [
linfa-logistic]:- Fix label ordering in binary logistic regression by @espenloov in #432
- Add offset support to binary logistic regression by @espenloov in #435
- [
linfa-nn]: Add Wasserstein distance (aka Earth Mover's distance) by @mrsanor in #440 - [
linfa-preprocessing]: RealignPreprocessingErrorvariants with error strings by @oglego in #434 - [
linfa-reduction]: FixPca::explained_variancescaling by @AdamEzzat1 in #457 - [
linfa-trees]: MakeDecisionTreefitting deterministic and about 3x faster by @mysma-9403 in #452 - [
linfa-tsne]: Update to bhtsne 0.5.4 by @AnthonyMichaelTDM in #429 - Maintenance:
- Move tests to Rust 1.88.0 for BLAS testing requirements by @quietlychris in #454
- Bump MSRV to 1.88.0 and fix stable lints by @mtantaoui in #467
- Remove unused dependencies by @relf in #476
Breaking changes
- Several fixes change the values returned by existing functions:
explained_variance, macro F-score, ROC curve/AUC,Pca::explained_variance, OPTICS ordering and fitted decision trees. Pcamodels serialized with 0.8.x cannot be deserialized with 0.9.0.- The minimum supported Rust version is now 1.88.0.
New Contributors
- @AnthonyMichaelTDM made their first contribution in #429
- @Feiyang472 made their first contribution in #430
- @espenloov made their first contribution in #432
- @oglego made their first contribution in #434
- @LucaCappelletti94 made their first contribution in #438
- @mrsanor made their first contribution in #439
- @schliffen made their first contribution in #444
- @teddytennant made their first contribution in #447
- @binggao1230 made their first contribution in #448
- @dbrundu made their first contribution in #450
- @mysma-9403 made their first contribution in #452
- @AdamEzzat1 made their first contribution in #457
- @whispem made their first contribution in #462
- @ilgrad made their first contribution in #464
- @mtantaoui made their first contribution in #465
- @bardrop made their first contribution in #475
Full Changelog: 0.8.1...0.9.0