Trait

com.databricks.labs.automl.feature

FeatureInteractionBase

Related Doc: package feature

Permalink

trait FeatureInteractionBase extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FeatureInteractionBase
  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 val AGGREGATE_COLUMN: String

    Permalink
  5. final val COUNT_COLUMN: String

    Permalink
  6. final val ENTROPY_COLUMN: String

    Permalink
  7. final val FIELD_ENTROPY_COLUMN: String

    Permalink
  8. final val INDEXED_SUFFIX: String

    Permalink
  9. final val QUANTILE_PRECISION: Double

    Permalink
  10. final val QUANTILE_THRESHOLD: Double

    Permalink
  11. final val RATIO_COLUMN: String

    Permalink
  12. final val TOTAL_RATIO_COLUMN: String

    Permalink
  13. final val VARIANCE_STATISTIC: String

    Permalink
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def calculatePercentageChange(before: Double, after: Double): Double

    Permalink

    Method for evaluating the percentage change to the score metric to normalize.

    Method for evaluating the percentage change to the score metric to normalize.

    before

    Score of a parent feature

    after

    Score of an interaction feature

    returns

    the percentage change

    Attributes
    protected[com.databricks.labs.automl.feature]
    Since

    0.6.2

  16. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def generateInteractionCandidates(featureColumns: Array[ColumnTypeData]): Array[InteractionPayload]

    Permalink

    Method for generating a collection of Interaction Candidates to be tested and applied to the feature set if the tests for inclusion pass.

    Method for generating a collection of Interaction Candidates to be tested and applied to the feature set if the tests for inclusion pass.

    featureColumns

    List of the columns that make up the feature vector

    returns

    Array of InteractionPayload values.

    Attributes
    protected[com.databricks.labs.automl.feature]
    Since

    0.6.2

  21. def generateNominalIndexesInteractionFields(payload: FeatureInteractionCollection): NominalDataCollection

    Permalink

    Method for converting nominal interaction fields to a new StringIndexed value to preserve information type and eliminate the possibility of data distribution skew

    Method for converting nominal interaction fields to a new StringIndexed value to preserve information type and eliminate the possibility of data distribution skew

    payload

    FeatureInteractionCollection of the source parents and their interacted children fields

    returns

    NominalDataCollecction payload containing a DataFrame that has new StringIndexed fields for nominal interactions and the fields that need to be seen as included in the final feature vector

    Attributes
    protected[com.databricks.labs.automl.feature]
    Since

    0.6.2

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getFieldType(fieldType: String): structures.FieldEncodingType.Value

    Permalink
    Attributes
    protected[com.databricks.labs.automl.feature]
  24. def getModelType(modelingType: String): structures.ModelingType.Value

    Permalink
    Attributes
    protected[com.databricks.labs.automl.feature]
  25. def getRetentionMode(retentionMode: String): structures.InteractionRetentionMode.Value

    Permalink
    Attributes
    protected[com.databricks.labs.automl.feature]
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def interactProduct(df: DataFrame, candidate: InteractionPayload): DataFrame

    Permalink

    Method for generating a product interaction between feature columns

    Method for generating a product interaction between feature columns

    df

    A DataFrame to add a field for an interaction between two columns

    candidate

    InteractionPayload information about the two parent columns and the name of the new interaction column to be created.

    returns

    A modified DataFrame with the new column.

    Attributes
    protected[com.databricks.labs.automl.feature]
    Since

    0.6.2

  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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. def regenerateFeatureVector(df: DataFrame, preInteractedFields: Array[String], interactedFields: Array[String], featureCol: String): VectorAssemblyOutput

    Permalink

    Helper method for recreating the feature vector after interactions have been completed on individual columns

    Helper method for recreating the feature vector after interactions have been completed on individual columns

    df

    DataFrame containing the interacted fields with the original feature vector dropped

    preInteractedFields

    Fields making up the original vector before interaction

    interactedFields

    Interaction candidate fields that have been selected to be included in the final feature vector

    featureCol

    Name of the feature vector field

    returns

    DataFrame with a new feature vector.

    Attributes
    protected[com.databricks.labs.automl.feature]
    Since

    0.6.2

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped