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 double
compressedCost
Cost of the compressed representationdouble
compressedInitialCost
Compressed cost after compression but before finalizelong
compressedInitialSize
Compression size after compressing but before finalizelong
compressedSize
Compressed sizelong
denseSize
Size if the input is densedouble
estimatedCostCoCoded
Summed cost after cocodingdouble
estimatedCostCols
Summed cost estimated from individual columnslong
estimatedSizeCoCoded
Estimated size of compressing after co-codinglong
estimatedSizeCols
Estimated size of compressing individual columnsdouble
originalCost
Cost calculated by the cost estimator on inputlong
originalSize
Size 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()
double
getDenseRatio()
String
getGroupsSizesString()
String
getGroupsTypesString()
double
getRatio()
String
toString()
-
-
-
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
-
-