Skip to content

0.9.0

Latest

Choose a tag to compare

@relf relf released this 23 Nov 15:47
9a8f637

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]:
  • [linfa-clustering]:
    • Add Hamerly's accelerated K-means algorithm by @mrsanor in #439
    • Use log-sum-exp in Gaussian mixture estimate_log_prob_resp to prevent overflow by @schliffen in #444
    • Fix OPTICS ordering: each expansion's start point comes first with undefined reachability by @ilgrad in #464
  • [linfa-elasticnet]: Fix MultiTaskElasticNet::default_target shape 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 the serde feature 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]: Realign PreprocessingError variants with error strings by @oglego in #434
  • [linfa-reduction]: Fix Pca::explained_variance scaling by @AdamEzzat1 in #457
  • [linfa-trees]: Make DecisionTree fitting deterministic and about 3x faster by @mysma-9403 in #452
  • [linfa-tsne]: Update to bhtsne 0.5.4 by @AnthonyMichaelTDM in #429
  • Maintenance:

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.
  • Pca models serialized with 0.8.x cannot be deserialized with 0.9.0.
  • The minimum supported Rust version is now 1.88.0.

New Contributors

Full Changelog: 0.8.1...0.9.0