pca

package
v0.0.0-...-d2c70d7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Implementation of Principal Component Analysis(PCA) with SVD

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PCA

type PCA struct {
	Num_components int
}

func NewPCA

func NewPCA(num_components int) *PCA

Number of components. 0 - by default, use number of features as number of components

func (*PCA) Transform

func (pca *PCA) Transform(X *mat64.Dense) *mat64.Dense

Need return is base.FixedDataGrid

Jump to

Keyboard shortcuts

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