Class CompressionStatistics
- java.lang.Object
-
- org.apache.sysds.runtime.compress.CompressionStatistics
-
public class CompressionStatistics extends Object
Compression Statistics contain the main information gathered from the compression, such as sizes of the original matrix, vs the compressed representation at different stages of the compression.
-
-
Field Summary
Fields Modifier and Type Field Description doublecompressedCostCost of the compressed representationdoublecompressedInitialCostCompressed cost after compression but before finalizelongcompressedInitialSizeCompression size after compressing but before finalizelongcompressedSizeCompressed sizelongdenseSizeSize if the input is densedoubleestimatedCostCoCodedSummed cost after cocodingdoubleestimatedCostColsSummed cost estimated from individual columnslongestimatedSizeCoCodedEstimated size of compressing after co-codinglongestimatedSizeColsEstimated size of compressing individual columnsdoubleoriginalCostCost calculated by the cost estimator on inputlongoriginalSizeSize of the original input
-
Constructor Summary
Constructors Constructor Description CompressionStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,int[]>getColGroups()doublegetDenseRatio()StringgetGroupsSizesString()StringgetGroupsTypesString()doublegetRatio()StringtoString()
-
-
-
Field Detail
-
originalSize
public long originalSize
Size of the original input
-
denseSize
public long denseSize
Size if the input is dense
-
estimatedSizeCols
public long estimatedSizeCols
Estimated size of compressing individual columns
-
estimatedSizeCoCoded
public long estimatedSizeCoCoded
Estimated size of compressing after co-coding
-
compressedInitialSize
public long compressedInitialSize
Compression size after compressing but before finalize
-
compressedSize
public long compressedSize
Compressed size
-
originalCost
public double originalCost
Cost calculated by the cost estimator on input
-
estimatedCostCols
public double estimatedCostCols
Summed cost estimated from individual columns
-
estimatedCostCoCoded
public double estimatedCostCoCoded
Summed cost after cocoding
-
compressedInitialCost
public double compressedInitialCost
Compressed cost after compression but before finalize
-
compressedCost
public double compressedCost
Cost of the compressed representation
-
-