hstatistics-0.2.3: Statistics

Portabilityportable
Stabilityprovisional
Maintainerhaskell.vivian.mcphail <at> gmail <dot> com
Safe HaskellSafe-Infered

Numeric.Statistics.ICA

Description

Synopsis

Documentation

sigmoid :: Double -> DoubleSource

sigmoid transfer function

sigmoid' :: Double -> DoubleSource

derivative of sigmoid transfer function

demeanSource

Arguments

:: Array Int (Vector Double)

the data

-> (Array Int (Vector Double), Vector Double)

(demeaned data,mean)

remove the mean from data

whitenSource

Arguments

:: Array Int (Vector Double)

the data

-> Double

eigenvalue threshold

-> (Array Int (Vector Double), Matrix Double)

(whitened data,transform)

whiten data

icaSource

Arguments

:: Int

random seed

-> (Double -> Double)

transfer function (tanh,u exp(u^2/2), etc...)

-> (Double -> Double)

derivative of transfer function

-> NormType

type of normalisation: Infinity, PNorm1, PNorm2

-> Double

convergence tolerance for feature vectors -> Int -- ^ output dimensions

-> Int

sampling size (must be smaller than length of data)

-> Array Int (Vector Double)

data

-> (Array Int (Vector Double), Matrix Double)

transformed data, ica transform

perform an ICA transform

icaDefaultsSource

Arguments

:: Int

random seed

-> Array Int (Vector Double)

data

-> (Array Int (Vector Double), Matrix Double)

transformed data, ica transform

ICA with default values: no dimension reduction, euclidean norms, 16 sample groups, sigmoid