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 Details

    • originalSize

      public long originalSize
      Size of the original input
    • denseSize

      public long denseSize
      Size if the input is dense
    • sparseSize

      public long sparseSize
      Size if the input is sparse
    • 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
  • Constructor Details

    • CompressionStatistics

      public CompressionStatistics()
  • Method Details

    • getGroupsTypesString

      public String getGroupsTypesString()
    • getGroupsSizesString

      public String getGroupsSizesString()
    • getRatio

      public double getRatio()
    • getCostRatio

      public double getCostRatio()
    • getDenseRatio

      public double getDenseRatio()
    • toString

      public String toString()
      Overrides:
      toString in class Object