mltool-0.2.0.1: Machine Learning Toolbox

Copyright(c) Alexander Ignatyev 2016
LicenseBSD-3
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

MachineLearning

Description

 

Synopsis

Documentation

addBiasDimension :: Matrix -> Matrix Source #

Add biad dimension to the future matrix

removeBiasDimension :: Matrix -> Matrix Source #

Remove biad dimension

meanStddev :: Matrix R -> (Matrix R, Matrix R) Source #

Caclulates mean and stddev values of every feature. Takes feature matrix X, returns pair of vectors of means and stddevs.

featureNormalization :: Fractional a => (a, a) -> a -> a Source #

mapFeatures :: Int -> Matrix -> Matrix Source #

Maps the features into all polynomial terms of X up to the degree-th power

splitToXY :: Element t => Matrix t -> (Matrix t, Vector t) Source #

Splits data matrix to features matrix X and vector of outputs y