normalize-0.3.1.1: Normalize data using a variety of methods.

Safe HaskellNone
LanguageHaskell2010

Utility

Synopsis

Documentation

sortVector :: Vector Entity -> Vector Entity Source #

Sort a vector of elements.

rankVector :: Vector Entity -> Vector Entity Source #

Get the rank transformed vector of elements.

medianVector :: Vector Double -> Double Source #

Find the median of a vector.

avgVector :: Vector Double -> Double Source #

Find the average of a vector.

transposeSamples :: Map Sample (Vector Entity) -> [Vector Double] Source #

Transpose sample map. Important: assumes same number of entities in each sample.