hstatistics-0.2.5.2: Statistics

Portabilityportable
Stabilityprovisional
Maintainerhaskell.vivian.mcphail <at> gmail <dot> com
Safe HaskellNone

Numeric.Statistics.PCA

Description

Principal Components Analysis

Synopsis

Documentation

pca :: Array Int (Vector Double) -> Double -> Matrix DoubleSource

find the principal components of multidimensional data greater than the threshhold

pcaN :: Array Int (Vector Double) -> Int -> Matrix DoubleSource

find N greatest principal components of multidimensional data according to size of the eigenvalue

pcaTransformSource

Arguments

:: Array Int (Vector Double)

the data

-> Matrix Double

the principal components

-> Array Int (Vector Double)

the transformed data

perform a PCA transform of the original data (remove mean) | Final = M^T Data^T

pcaReduceSource

Arguments

:: Array Int (Vector Double)

the data

-> Double

eigenvalue threshold

-> Array Int (Vector Double)

the reduced data

perform a dimension-reducing PCA modification, using an eigenvalue threshhold

pcaReduceNSource

Arguments

:: Array Int (Vector Double)

the data

-> Int

N, the number of components

-> Array Int (Vector Double)

the reduced data, with n principal components

perform a dimension-reducing PCA modification, using N components