learn-0.1: Learning Algorithms

Safe HaskellSafe-Inferred

Numeric.Learn

Documentation

newtype Distro a Source

Constructors

Distro 

Fields

runDistro :: Map a Prob
 

Instances

Eq a => Eq (Distro a) 
Ord a => Ord (Distro a) 
(Ord a, Read a) => Read (Distro a) 
Show a => Show (Distro a) 

data Result Source

Constructors

Positive 
Negative 

uniformPDF :: Ord k => [k] -> Distro kSource

listify :: Distro k -> [(k, Prob)]Source