---
title: "linfa 0.9.0 Breaking Changes on crates.io | Since.dev"
description: "What each linfa release removed, renamed or changed: 10 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/linfa
last_updated: 2026-12-04
---

# linfa breaking changes

linfa 0.9.0 (November 23, 2026) is its newest release with breaking changes, 10 of them. The first: ROC curve now starts at the origin when scores are zero in linfa 0.9.0. Every breaking API change we have recorded in linfa on crates.io: 10 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.9.0`, released November 23, 2026. [Source repository](https://github.com/rust-ml/linfa)

Its 0.9.0 release requires Rust 1.88.0 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

## linfa 0.9.0 breaking changes

linfa 0.9.0, released November 23, 2026: 10 breaking changes.

- **Behavior changed**  

The ROC curve now starts at the origin when scores are zero, which changes the returned curve and AUC values. [github.com](https://github.com/rust-ml/linfa/releases/tag/0.9.0)
- **Behavior changed**  

The multiclass macro F-score now averages per-class scores, so its returned values change. [github.com](https://github.com/rust-ml/linfa/releases/tag/0.9.0)
- **Behavior changed** `explained_variance`  

The explained_variance regression metric now returns different values to match scikit-learn. Code that compares against stored results must be updated. [github.com](https://github.com/rust-ml/linfa/releases/tag/0.9.0)
- **Configuration changed**  

The minimum supported Rust version is now 1.88.0, so older toolchains will no longer build the package. [github.com](https://github.com/rust-ml/linfa/releases/tag/0.9.0)
- **Signature changed** `linfa::dataset::DatasetBase::cross_validate`  

Was fn cross_validate\<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &\[M\], eval: C) -> std::result::Result\<Array\<FACC, I>, ER> where ER: std::error::Error + std::convert::From\<crate::error::Error>, M: for<'c> Fit\<ArrayView2<'c, F>... [crates.io](https://crates.io/crates/linfa/0.9.0)
- **Signature changed** `linfa::dataset::DatasetBase::cross_validate_single`  

Was fn cross_validate_single\<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &\[M\], eval: C) -> std::result::Result\<Array1\<FACC>, ER> where ER: std::error::Error + std::convert::From\<crate::error::Error>, M: for<'c>... [crates.io](https://crates.io/crates/linfa/0.9.0)
- **Signature changed** `linfa::DatasetBase::cross_validate`  

Was fn cross_validate\<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &\[M\], eval: C) -> std::result::Result\<Array\<FACC, I>, ER> where ER: std::error::Error + std::convert::From\<crate::error::Error>, M: for<'c> Fit\<ArrayView2<'c, F>... [crates.io](https://crates.io/crates/linfa/0.9.0)
- **Signature changed** `linfa::DatasetBase::cross_validate_single`  

Was fn cross_validate_single\<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &\[M\], eval: C) -> std::result::Result\<Array1\<FACC>, ER> where ER: std::error::Error + std::convert::From\<crate::error::Error>, M: for<'c>... [crates.io](https://crates.io/crates/linfa/0.9.0)
- **Signature changed** `linfa::prelude::DatasetBase::cross_validate`  

Was fn cross_validate\<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &\[M\], eval: C) -> std::result::Result\<Array\<FACC, I>, ER> where ER: std::error::Error + std::convert::From\<crate::error::Error>, M: for<'c> Fit\<ArrayView2<'c, F>... [crates.io](https://crates.io/crates/linfa/0.9.0)
- **Signature changed** `linfa::prelude::DatasetBase::cross_validate_single`  

Was fn cross_validate_single\<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &\[M\], eval: C) -> std::result::Result\<Array1\<FACC>, ER> where ER: std::error::Error + std::convert::From\<crate::error::Error>, M: for<'c>... [crates.io](https://crates.io/crates/linfa/0.9.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
