org.gcube.dataanalysis.ecoengine.models.cores.pca
Class PrincipalComponentAnalysis

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.models.cores.pca.PrincipalComponentAnalysis

public class PrincipalComponentAnalysis
extends Object


Constructor Summary
PrincipalComponentAnalysis()
           
 
Method Summary
 void calcPCA(double[][] sampleVectors)
           
 double[] getComponents(double[] vector)
           
 double[][] getComponentsMatrix(double[][] vectors)
           
 double getEigenvalue(int index)
           
 double[] getEigenvalues()
           
 double[] getEigenvector(int index)
           
 double[] getInverseEigenvalues()
           
 double[] getInverseNormalizedEigenvalues()
           
 com.rapidminer.operator.features.transformation.PCAModel getModel()
           
 double[] getNormalizedEigenvalues()
           
protected  double[][] getPCA(double[][] sampleVectors)
           
 void init(AlgorithmConfiguration config)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalComponentAnalysis

public PrincipalComponentAnalysis()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

init

public void init(AlgorithmConfiguration config)

getModel

public com.rapidminer.operator.features.transformation.PCAModel getModel()

getEigenvector

public double[] getEigenvector(int index)

getEigenvalue

public double getEigenvalue(int index)

getEigenvalues

public double[] getEigenvalues()

getNormalizedEigenvalues

public double[] getNormalizedEigenvalues()

getInverseEigenvalues

public double[] getInverseEigenvalues()

getInverseNormalizedEigenvalues

public double[] getInverseNormalizedEigenvalues()

getComponentsMatrix

public double[][] getComponentsMatrix(double[][] vectors)
                               throws Exception
Throws:
Exception

getComponents

public double[] getComponents(double[] vector)
                       throws Exception
Throws:
Exception

getPCA

protected double[][] getPCA(double[][] sampleVectors)
                     throws Exception
Throws:
Exception

calcPCA

public void calcPCA(double[][] sampleVectors)
             throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.