Trait

ksb.csle.didentification.interfaces

Statistics

Related Doc: package interfaces

Permalink

trait Statistics extends DataFrameCheck

This trait provides the statistics related functions such as min, max, avg, std, and # of records.

Linear Supertypes
DataFrameCheck, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Statistics
  2. DataFrameCheck
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def getAvgValue(values: List[Long]): Double

    Permalink

    Gets the average value among the given list of values

    Gets the average value among the given list of values

    values

    the list of values

    returns

    Double The average value

    Annotations
    @throws( ... )
  10. def getAvgValue(src: DataFrame, columnName: String): String

    Permalink

    Gets the average value among this column

    Gets the average value among this column

    src

    Dataframe

    columnName

    Column

    returns

    String The string type of average value

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getColumnName(src: DataFrame, columnId: Int): String

    Permalink

    Returns column name from src dataframe specified by the column ID defined by protobuf.

    Returns column name from src dataframe specified by the column ID defined by protobuf.

    src

    dataframe to get names of columns.

    columnId

    column ID to anonymize.

    returns

    String.

    Definition Classes
    DataFrameCheck
  13. def getColumnNames(src: DataFrame, columnIDs: Array[Int]): Array[String]

    Permalink

    Returns column names from src dataframe specified by column IDs.

    Returns column names from src dataframe specified by column IDs. Note that the column with invalid IDs are ignored.

    src

    dataframe to get names of columns.

    returns

    Array[String].

    Definition Classes
    DataFrameCheck
  14. def getCountValue(values: List[Long]): Double

    Permalink

    Gets the number of tuples among he given list of values

    Gets the number of tuples among he given list of values

    returns

    Double The number of tuples

  15. def getCountValue(src: DataFrame, columnName: String): String

    Permalink

    Gets the number of tuples among this column

    Gets the number of tuples among this column

    src

    Dataframe

    columnName

    Column

    returns

    Double The number of tuples

  16. def getMaxValue(values: List[Double]): Double

    Permalink

    Gets the maximum value among the given list of values

    Gets the maximum value among the given list of values

    values

    the list of values

    returns

    Double Maximum value

  17. def getMaxValue(src: DataFrame, columnName: String): String

    Permalink

    Gets the maximum value among this column

    Gets the maximum value among this column

    src

    Dataframe

    columnName

    Column

    returns

    String the string type of Maximum value

  18. def getMinValue(values: List[Double]): Double

    Permalink

    Gets the minimum value among the given list of values

    Gets the minimum value among the given list of values

    values

    the list of values

    returns

    Double Minimum value

  19. def getMinValue(src: DataFrame, columnName: String): String

    Permalink

    Gets the minimum value among this column

    Gets the minimum value among this column

    src

    Dataframe

    columnName

    Column

    returns

    String the string type of Minimum value

  20. def getQuasiColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int]

    Permalink
    Definition Classes
    DataFrameCheck
  21. def getSensColumnIDs(fieldInfos: Array[FieldInfo]): Array[Int]

    Permalink
    Definition Classes
    DataFrameCheck
  22. def getStdValue(values: List[Long]): Double

    Permalink

    Gets the average value among the given list of values

    Gets the average value among the given list of values

    values

    the list of values

    returns

    Double The average value

  23. def getStdValue(src: DataFrame, columnName: String): String

    Permalink

    Gets the standard deviation value among this column

    Gets the standard deviation value among this column

    src

    Dataframe

    columnName

    Column

    returns

    String The string type of standard deviation value

  24. def getValidColumnIDs(src: DataFrame, columnIDs: Array[Int]): Array[Int]

    Permalink
    Definition Classes
    DataFrameCheck
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isValidColumnID(src: DataFrame, columnID: Int): Boolean

    Permalink

    Checks the given column ID is valid.

    Checks the given column ID is valid.

    src

    dataframe to get names of columns.

    returns

    Boolean.

    Definition Classes
    DataFrameCheck
  28. def isValidColumnName(src: DataFrame, columnName: String): Boolean

    Permalink

    Checks the given column Name is valid.

    Checks the given column Name is valid.

    src

    dataframe to get names of columns.

    columnName

    column Name.

    returns

    Boolean.

    Definition Classes
    DataFrameCheck
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataFrameCheck

Inherited from AnyRef

Inherited from Any

Ungrouped