com.rapidminer.tools.math.matrix
Class CovarianceMatrix

java.lang.Object
  extended by com.rapidminer.tools.math.matrix.CovarianceMatrix

public class CovarianceMatrix
extends java.lang.Object

This helper class can be used to calculate a covariance matrix from given matrices or example sets.

Author:
Regina Fritsch, Ingo Mierswa

Constructor Summary
CovarianceMatrix()
           
 
Method Summary
static Jama.Matrix getCovarianceMatrix(double[][] data)
          Returns the covariance matrix from the given double matrix.
static Jama.Matrix getCovarianceMatrix(ExampleSet exampleSet)
          Transforms the example set into a double matrix (doubling the amount of used memory) and invokes getCovarianceMatrix(double[][]).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CovarianceMatrix

public CovarianceMatrix()
Method Detail

getCovarianceMatrix

public static Jama.Matrix getCovarianceMatrix(ExampleSet exampleSet)
Transforms the example set into a double matrix (doubling the amount of used memory) and invokes getCovarianceMatrix(double[][]).


getCovarianceMatrix

public static Jama.Matrix getCovarianceMatrix(double[][] data)
Returns the covariance matrix from the given double matrix.



Copyright © 2001-2009 by Rapid-I