public static class EstimatorMatrixHistogram.MatrixHistogram extends Object
Constructor and Description |
---|
MatrixHistogram(int[] r,
int[] r1e,
int[] c,
int[] c1e,
int rmax,
int cmax) |
MatrixHistogram(MatrixBlock in,
boolean useExcepts) |
Modifier and Type | Method and Description |
---|---|
static DataCharacteristics |
deriveOutputCharacteristics(EstimatorMatrixHistogram.MatrixHistogram h1,
EstimatorMatrixHistogram.MatrixHistogram h2,
double spOut,
SparsityEstimator.OpCode op,
long[] misc) |
static EstimatorMatrixHistogram.MatrixHistogram |
deriveOutputHistogram(EstimatorMatrixHistogram.MatrixHistogram h1,
EstimatorMatrixHistogram.MatrixHistogram h2,
double spOut,
SparsityEstimator.OpCode op,
long[] misc) |
int[] |
getColCounts() |
int |
getCols() |
long |
getNonZeros() |
int[] |
getRowCounts() |
int |
getRows() |
void |
setData(MatrixBlock mb) |
public MatrixHistogram(MatrixBlock in, boolean useExcepts)
public MatrixHistogram(int[] r, int[] r1e, int[] c, int[] c1e, int rmax, int cmax)
public int getRows()
public int getCols()
public int[] getRowCounts()
public int[] getColCounts()
public long getNonZeros()
public void setData(MatrixBlock mb)
public static EstimatorMatrixHistogram.MatrixHistogram deriveOutputHistogram(EstimatorMatrixHistogram.MatrixHistogram h1, EstimatorMatrixHistogram.MatrixHistogram h2, double spOut, SparsityEstimator.OpCode op, long[] misc)
public static DataCharacteristics deriveOutputCharacteristics(EstimatorMatrixHistogram.MatrixHistogram h1, EstimatorMatrixHistogram.MatrixHistogram h2, double spOut, SparsityEstimator.OpCode op, long[] misc)
Copyright © 2020 The Apache Software Foundation. All rights reserved.