Package com.macrofocus.high_d.mds.pca
Class SimplePCAModel
- java.lang.Object
-
- com.macrofocus.molap.dataframe.AbstractDataFrame<R,C,java.lang.Number>
-
- com.macrofocus.molap.dataframe.matrix.AbstractMatrix<java.lang.Integer,java.lang.String>
-
- com.macrofocus.high_d.mds.AbstractMDSModel
-
- com.macrofocus.high_d.mds.pca.SimplePCAModel
-
- All Implemented Interfaces:
MDSModel,PCAModel,com.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,java.lang.String,java.lang.Number>,com.macrofocus.molap.dataframe.matrix.Matrix<java.lang.Integer,java.lang.String>
public class SimplePCAModel extends AbstractMDSModel implements PCAModel
-
-
Constructor Summary
Constructors Constructor Description SimplePCAModel(com.macrofocus.molap.dataframe.DataFrame dataset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetColumnClass(int column)intgetColumnCount()com.macrofocus.molap.index.UniqueIndex<java.lang.String>getColumnIndex()intgetColumnIndex(java.lang.Object name)java.lang.ObjectgetColumnName(int column)doublegetDouble(int row, int column)intgetRowCount()com.macrofocus.molap.index.UniqueIndex<java.lang.Integer>getRowIndex()java.lang.ObjectgetValueAt(int row, int column)doublegetX(int row)doublegetY(int row)booleanisAvailable(int row, int column)voidsetDouble(int row, int column, double value)voidsetX(int row, double x)voidsetY(int row, double y)-
Methods inherited from class com.macrofocus.high_d.mds.AbstractMDSModel
getDouble, isAvailable
-
Methods inherited from class com.macrofocus.molap.dataframe.matrix.AbstractMatrix
getColumnClass, getColumnVector, getRow, getRowClass, getRowVector, getValueAt, isAvailable, join, scalarDivide, scalarMult, scalarPlus
-
Methods inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getCube, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRowAddress, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, notifyDataFrameChanged, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRowsDefault, reindexRowsUsingColumn, reindexRowsUsingColumnDefault, reindexRowsUsingColumns, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.molap.dataframe.DataFrame
addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRowAddress, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRowsDefault, reindexRowsUsingColumn, reindexRowsUsingColumnDefault, reindexRowsUsingColumns, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
Methods inherited from interface com.macrofocus.high_d.mds.MDSModel
isAvailable
-
-
-
-
Method Detail
-
getValueAt
public java.lang.Object getValueAt(int row, int column)
-
isAvailable
public boolean isAvailable(int row, int column)
-
getDouble
public double getDouble(int row, int column)
-
setDouble
public void setDouble(int row, int column, double value)
-
getRowCount
public int getRowCount()
- Specified by:
getRowCountin interfacecom.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,java.lang.String,java.lang.Number>- Specified by:
getRowCountin interfaceMDSModel- Overrides:
getRowCountin classcom.macrofocus.molap.dataframe.AbstractDataFrame<java.lang.Integer,java.lang.String,java.lang.Number>
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCountin interfacecom.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,java.lang.String,java.lang.Number>- Specified by:
getColumnCountin interfaceMDSModel- Overrides:
getColumnCountin classAbstractMDSModel
-
getColumnName
public java.lang.Object getColumnName(int column)
- Overrides:
getColumnNamein classAbstractMDSModel
-
getColumnIndex
public int getColumnIndex(java.lang.Object name)
-
getColumnClass
public java.lang.Class getColumnClass(int column)
-
getRowIndex
public com.macrofocus.molap.index.UniqueIndex<java.lang.Integer> getRowIndex()
- Specified by:
getRowIndexin interfacecom.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,java.lang.String,java.lang.Number>
-
getColumnIndex
public com.macrofocus.molap.index.UniqueIndex<java.lang.String> getColumnIndex()
- Specified by:
getColumnIndexin interfacecom.macrofocus.molap.dataframe.DataFrame<java.lang.Integer,java.lang.String,java.lang.Number>
-
-