Skip to content

Metrics 0.3.0 fowlkesmallows

github-actions[bot] edited this page Aug 21, 2026 · 1 revision

Lodestar.Metrics 0.3.0. This page is frozen at that release. Read the current documentation for what main says now. A link to a decision or a migration page follows main, and leaves the archive.

FowlkesMallows

Agreement between two partitions as the geometric mean of pair precision and pair recall.

public static class FowlkesMallows

Example — the same partition under different names.

using Lodestar.Metrics;

double same = FowlkesMallows.Score([0, 0, 1, 1], [2, 2, 0, 0]);  // => 1

Remarks — counts pairs of samples, like AdjustedRand, and unlike it applies no correction for chance. Two independent partitions therefore score above zero here, which makes this the wrong measure for comparing clusterings with different numbers of clusters and a reasonable one for comparing two at the same size.

Reference behaviour is sklearn.metrics.fowlkes_mallows_score.

Applies to — net10.0, netstandard2.0.

See alsoAdjustedRand, AdjustedMutualInformation, the clustering index.

Members

Member What it does
FowlkesMallows.Score The geometric mean of pair precision and pair recall.

Lodestar

Project

Clone this wiki locally