Package org.apache.sysds.hops.estim
Class EstimatorMatrixHistogram.MatrixHistogram
java.lang.Object
org.apache.sysds.hops.estim.EstimatorMatrixHistogram.MatrixHistogram
- Enclosing class:
- EstimatorMatrixHistogram
-
Constructor Summary
ConstructorsConstructorDescriptionMatrixHistogram(int[] r, int[] r1e, int[] c, int[] c1e, int rmax, int cmax) MatrixHistogram(MatrixBlock in, boolean useExcepts) -
Method Summary
Modifier and TypeMethodDescriptionstatic DataCharacteristicsderiveOutputCharacteristics(EstimatorMatrixHistogram.MatrixHistogram h1, EstimatorMatrixHistogram.MatrixHistogram h2, double spOut, SparsityEstimator.OpCode op, long[] misc) deriveOutputHistogram(EstimatorMatrixHistogram.MatrixHistogram h1, EstimatorMatrixHistogram.MatrixHistogram h2, double spOut, SparsityEstimator.OpCode op, long[] misc) int[]intgetCols()longint[]intgetRows()voidsetData(MatrixBlock mb)
-
Constructor Details
-
MatrixHistogram
-
MatrixHistogram
public MatrixHistogram(int[] r, int[] r1e, int[] c, int[] c1e, int rmax, int cmax)
-
-
Method Details
-
getRows
public int getRows() -
getCols
public int getCols() -
getRowCounts
public int[] getRowCounts() -
getColCounts
public int[] getColCounts() -
getNonZeros
public long getNonZeros() -
setData
-
deriveOutputHistogram
public static EstimatorMatrixHistogram.MatrixHistogram deriveOutputHistogram(EstimatorMatrixHistogram.MatrixHistogram h1, EstimatorMatrixHistogram.MatrixHistogram h2, double spOut, SparsityEstimator.OpCode op, long[] misc) -
deriveOutputCharacteristics
public static DataCharacteristics deriveOutputCharacteristics(EstimatorMatrixHistogram.MatrixHistogram h1, EstimatorMatrixHistogram.MatrixHistogram h2, double spOut, SparsityEstimator.OpCode op, long[] misc)
-