Metrics 0.3.0 confusionmatrix - CyrilB1531/lodestar GitHub Wiki

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.

ConfusionMatrix

Predictions counted against truth, one cell per (true, predicted) pair — the object every other metric on this page is a division of.

Members

Member What it does
ConfusionMatrix.Compute Counts the samples into a table whose rows are true labels and whose columns are predicted ones.
ConfusionMatrix.ToArray Copies the cells into a rectangular array, raw or scaled.