StatisticalMethods-0.0.0.1: Collection of useful statistical methods.

Statistics.ConfusionMatrix.Instances

Description

In general, it is not easy to define the whole confusion matrix generically without knowing anything about the source data. For certain elements however, it is possible. These instances are all defined on newtypes in order to not create instances on generic data types like lists.

Synopsis

Documentation

newtype (Eq a, Ord a) => ListSimilar a Source

The ctor expects the total number of possibilities first, then a list of true positive elements, followed by a list of predicted elements.

Constructors

ListSimilar (Int, [a], [a]) 

Instances