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

Safe HaskellNone
LanguageHaskell2010

Utility

Synopsis

Documentation

sortSparseVector :: SpVector Double -> SpVector Double Source #

Sort a sparse vector, ignoring zeros.

rankSparseVector :: SpVector Double -> SpVector Int Source #

Get the rank transformed vector of a sparse vector, ignoring zeros.

medianSparseVector :: SpVector Double -> Double Source #

Find the median of a sparse vector, ignoring zeros.

avgSparseVector :: SpVector Double -> Double Source #

Find the average of a sparse vector, ignoring zeros.