Copyright(c) Fabricio Olivetti de Franca 2022
LicenseGPL-3
Maintainerfabricio.olivetti@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred

MachineLearning.Model.Measure

Description

Performance measures for Regression and Classification.

Synopsis

Documentation

data Measure Source #

A performance measure has a string name and a function that takes a vector of the true values, a vector of predict values and returns a Double.

Constructors

Measure 

Fields

  • _name :: String
     
  • _fun :: Vector -> Vector -> Double

    true values -> predicted values -> measure

Instances

Instances details
Show Measure Source # 
Instance details

Defined in MachineLearning.Model.Measure

Methods

showsPrec :: Int -> Measure -> ShowS

show :: Measure -> String

showList :: [Measure] -> ShowS

toMeasure :: String -> Measure Source #

Read a string into a measure

measureAll :: [Measure] Source #

List of all measures