public class LibMatrixCountDistinct extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | minimumSizeThe minimum number NonZero of cells in the input before using approximate techniques for counting number of
 distinct values. | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | estimateDistinctValues(MatrixBlock in,
                      CountDistinctOperator op)Public method to count the number of distinct values inside a matrix. | 
public static int minimumSize
public static int estimateDistinctValues(MatrixBlock in, CountDistinctOperator op)
in - the input matrix to count number distinct values inop - the selected operator to useCopyright © 2020 The Apache Software Foundation. All rights reserved.