ica

package
v0.0.0-...-ebd1faa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcNewW

func CalcNewW(w, X *mat.Dense) *mat.Dense

CalcNewW calculate new w. //w is *mat.Dense [1, r] //X is *mat.Dense [r, c]: [signul num, sample num] w is *mat.Dense [c, 1] [,] [,] [,] X is *mat.Dense [r, c]: [signul num, sample num] [ , , , ] [ , , , ] [ , , , ] [ , , , ]

func ColMeanVector

func ColMeanVector(X *mat.Dense) *mat.Dense

ColMeanVector returns a means of matrix row

[ ],
[ ],
[ ]

func ElemSum

func ElemSum(X *mat.Dense) float64

func ICA

func ICA(X *mat.Dense, iter int, tol float64) (*mat.Dense, error)

func NewDiagMat

func NewDiagMat(fs []float64, n int) *mat.Dense

func NewRandSlice

func NewRandSlice(n int) []float64

func NewRandVector

func NewRandVector(n int) *mat.Dense

func NormalizeMat

func NormalizeMat(x *mat.Dense) *mat.Dense

func RowMeanVector

func RowMeanVector(X *mat.Dense) *mat.Dense

RowMeanVector returns a means of matrix col

[ , , ,]

func SliceMean

func SliceMean(fs []float64) float64

func Whiten

func Whiten(X *mat.Dense) (*mat.Dense, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL