Object

ksb.csle.didentification.utilities

GeneralizeManager

Related Doc: package utilities

Permalink

object GeneralizeManager

This object provides some functions to generalize the dataframe. In order to get generalized dataframe, should specify the column of dataframe to apply the generalization function, and its possible maximum generalization step and desired generalization step.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeneralizeManager
  2. AnyRef
  3. 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 generalizing(src: DataFrame, genColInfo: GeneralizeColumnInfo): DataFrame

    Permalink

    Gets the dataframe made by the generalization function by using the given 'genColInfo' information.

    Gets the dataframe made by the generalization function by using the given 'genColInfo' information. The 'genColInfo' info includes the information about the column to generalize, maximum generalization step, and desired generalization step.

    src

    Dataframe

    genColInfo

    The information about the column to generalize

    returns

    DataFrame The generalized dataframe

  10. def generalizing(src: DataFrame, columnName: String, numLevels: Int, currLevel: Int): DataFrame

    Permalink
  11. def generalizing(src: DataFrame, columnName: String, numLevels: Int): DataFrame

    Permalink
  12. def generalizing(src: DataFrame, columnName: String): DataFrame

    Permalink
  13. def generalizing(src: DataFrame, numLevels: Int, curLevel: Int): DataFrame

    Permalink
  14. def generalizing(src: DataFrame, numLevels: Int): DataFrame

    Permalink
  15. def generalizing(src: DataFrame): DataFrame

    Permalink

    Gets the dataframe which is made by the generalization function.

    Gets the dataframe which is made by the generalization function. The default function generalizes the first column of given dataframe by the first generalized step among the maximum five generalized steps.

    src

    Dataframe

    returns

    DataFrame The generalized dataframe

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getNumGeneralizing(src: DataFrame, columnName: String, numLevels: Int, currLevel: Int): DataFrame

    Permalink

    Gets the dataframe made by the generalization function.

    Gets the dataframe made by the generalization function. This function is applied on the numerical type of columns.

    src

    Dataframe

    columnName

    The column name (

    numLevels

    The maximum generalization step

    returns

    DataFrame The generalized dataframe

  18. def getStrGeneralizing(src: DataFrame, columnName: String, numLevels: Int, currLevel: Int): DataFrame

    Permalink

    Gets the dataframe made by the generalization function.

    Gets the dataframe made by the generalization function. This function is applied on the string type of columns.

    src

    Dataframe

    columnName

    The column name (

    numLevels

    The maximum generalization step

    returns

    DataFrame The generalized dataframe

  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  21. def makeGeneralizationHierarchy(src: DataFrame, columnName: String, numLevels: Int): DataFrame

    Permalink

    Returns the hierarchy information of the 'columnName' column of 'src' dataframe.

    Returns the hierarchy information of the 'columnName' column of 'src' dataframe. The returned dataframe is composed of the following form: [column, 1-st generalized column, 2-nd generalized column, ..., n-th generalized column].

    src

    Dataframe

    columnName

    The column name (

    numLevels

    The maximum generalization step

    returns

    DataFrame Hierarhcy information of 'columnName' column of 'src' dataframe

  22. def makeNumericGeneralizationHierarchy(src: DataFrame, columnName: String, numLevels: Int): DataFrame

    Permalink

    Returns the hierarchy information of the 'columnName' column, which is the numerical type of column, of 'src' dataframe.

    Returns the hierarchy information of the 'columnName' column, which is the numerical type of column, of 'src' dataframe.

    src

    Dataframe

    columnName

    The column name (

    numLevels

    The maximum generalization step

    returns

    DataFrame Hierarhcy information of 'columnName' column of 'src' dataframe

  23. def makeStringGeneralizationHierarchy(src: DataFrame, columnName: String, numLevels: Int): DataFrame

    Permalink

    Returns the hierarchy information of the 'columnName' column, which is the string type of column, of 'src' dataframe.

    Returns the hierarchy information of the 'columnName' column, which is the string type of column, of 'src' dataframe.

    src

    Dataframe

    columnName

    The column name (

    numLevels

    The maximum generalization step

    returns

    DataFrame Hierarhcy information of 'columnName' column of 'src' dataframe

  24. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped