Object

ksb.csle.didentification.utilities

SuppressingManager

Related Doc: package utilities

Permalink

object SuppressingManager

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SuppressingManager
  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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getSuppressedTupleList(src: DataFrame, columnNames: Array[String]): Map[List[Any], Long]

    Permalink

    Returns the list of tuples to be suppressed under the default condition when the k value of k-anonymity and suppreshold threshold are given by 3 and 0.2, respectively.

    Returns the list of tuples to be suppressed under the default condition when the k value of k-anonymity and suppreshold threshold are given by 3 and 0.2, respectively.

    src

    dataframe to generalize

    columnNames

    array of column names to be generalization

    returns

    List[Any] the list of tuples to be suppressed

  11. def getSuppressedTupleListByK(src: DataFrame, columnNames: Array[String], k: Int): Map[List[Any], Long]

    Permalink

    Returns the list of tuples to be suppressed under the condition when the k value of k-anonymity is given by 'k'.

    Returns the list of tuples to be suppressed under the condition when the k value of k-anonymity is given by 'k'. All the tuples which violate the condition of k-anonymity are suppressed.

    src

    dataframe to generalize

    columnNames

    array of column names to be generalization

    k

    the k-value of k-anonymity

    returns

    List[Any] the list of tuples to be suppressed

  12. def getSuppressedTupleListByKAndRatio(src: DataFrame, columnNames: Array[String], k: Int, suppressRatio: Double): Map[List[Any], Long]

    Permalink

    Returns the list of tuples to be suppressed under the condition when the k value of k-anonymity and the suppreshold threshold are given by 'k' and 'suppressRatio'.

    Returns the list of tuples to be suppressed under the condition when the k value of k-anonymity and the suppreshold threshold are given by 'k' and 'suppressRatio'. All the tuples which violate the condition of k-anonymity are suppressed.

    src

    dataframe to generalize

    columnNames

    array of column names to be generalization

    k

    the k-value of k-anonymity

    suppressRatio

    the acceptable suppress ratio

    returns

    List[Any] the list of tuples to be suppressed

  13. def getSuppressedTupleListByRisk(src: DataFrame, columnNames: Array[String], risk: Double): Map[List[Any], Long]

    Permalink

    Returns the list of tuples to be suppressed under the condition when the re-identification risk is given by 'risk'.

    Returns the list of tuples to be suppressed under the condition when the re-identification risk is given by 'risk'. All the tuples which has the probability higher than given re-identification risk are suppressed.

    src

    dataframe to generalize

    columnNames

    array of column names to be generalization

    risk

    the re-identification risk

    returns

    List[Any] the list of tuples to be suppressed

  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def suppressingDataFrame(src: DataFrame, columnNames: Array[String], suppressedList: Map[List[Any], Long]): DataFrame

    Permalink
  20. def suppressingDataFrame(src: DataFrame, columnNames: Array[String], risk: Double): DataFrame

    Permalink
  21. def suppressingDataFrame(src: DataFrame, columnNames: Array[String], k: Int, suppressThreshold: Double): DataFrame

    Permalink
  22. def suppressingDataFrame(src: DataFrame, columnNames: Array[String], k: Int): DataFrame

    Permalink

    In general, satisfying k-anonymity in global domain generalization is not easy because generalization is equally applied on all tuples of a column (that is, column-based generalization).

    In general, satisfying k-anonymity in global domain generalization is not easy because generalization is equally applied on all tuples of a column (that is, column-based generalization). Compared to this, local domain generalization only applies on tuples on an equivalence class (equivalence-based). Accordingly, in global-domain generalization, a large number of tuples may violate the privacy policy, so some specific algorithms support suppressing techniques which changes the tuples does not satisfying privacy policy into '*'. This function reads the 'src' dataframe, configures the tuple lists to be suppressed, and then returns the new dataframe including suppressed tuples.

    src

    dataframe to generalize

    columnNames

    array of column names to be generalization

    returns

    DataFrame the new suppressed dataframe

  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def makeSuppressedQuasiRow(row: Row, columnNames: Array[String]): Row

    Permalink

    Only changes the quasi-identifier columns of given row into '*', and returns this changed row

    Only changes the quasi-identifier columns of given row into '*', and returns this changed row

    row

    the row to be suppressed

    returns

    Row new suppressed row

    Annotations
    @deprecated
    Deprecated

    (Since version 0.1) This function can not support different type of columns

  2. def makeSuppressedRow(row: Row): Row

    Permalink

    Returns the suppressed row of given original row

    Returns the suppressed row of given original row

    row

    the row to be suppressed

    returns

    Row new suppressed row

    Annotations
    @deprecated
    Deprecated

    (Since version 0.1) This function can not support different type of columns

Inherited from AnyRef

Inherited from Any

Ungrouped