public class CompressedSizeEstimatorSample extends CompressedSizeEstimator
| Constructor and Description |
|---|
CompressedSizeEstimatorSample(MatrixBlock data,
CompressionSettings compSettings,
int sampleSize)
CompressedSizeEstimatorSample, samples from the input data and estimates the size of the compressed matrix.
|
| Modifier and Type | Method and Description |
|---|---|
CompressedSizeInfoColGroup |
estimateCompressedColGroupSize(int[] colIndexes)
Abstract method for extracting Compressed Size Info of specified columns, together in a single ColGroup
|
computeCompressedSizeInfos, estimateCompressedColGroupSize, estimateCompressedColGroupSizepublic CompressedSizeEstimatorSample(MatrixBlock data, CompressionSettings compSettings, int sampleSize)
data - The input data sampled fromcompSettings - The Settings used for the sampling, and compression, contains information such as seed.sampleSize - Size of the sampling usedpublic CompressedSizeInfoColGroup estimateCompressedColGroupSize(int[] colIndexes)
CompressedSizeEstimatorestimateCompressedColGroupSize in class CompressedSizeEstimatorcolIndexes - The Colums to group together inside a ColGroupCopyright © 2020 The Apache Software Foundation. All rights reserved.