org.gcube.dataanalysis.ecoengine.models.cores.pca
Class PrincipalComponentAnalysis
java.lang.Object
org.gcube.dataanalysis.ecoengine.models.cores.pca.PrincipalComponentAnalysis
public class PrincipalComponentAnalysis
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrincipalComponentAnalysis
public PrincipalComponentAnalysis()
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.