Class/Object

com.databricks.labs.automl.exploration.tools

PCAReducer

Related Docs: object PCAReducer | package tools

Permalink

class PCAReducer extends SparkSessionWrapper

API wrapper for conducting a 2-component PCA for visualizing a data set's feature relationships in a way that can be readily visualized. Provides DataFrame export types for both the raw data with PC1 and PC2 values, as well as the eigen vector values.

Linear Supertypes
SparkSessionWrapper, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PCAReducer
  2. SparkSessionWrapper
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PCAReducer()

    Permalink

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 HANDLE_MODE: String("keep")

    Permalink
  5. final val MINMAX_MAX: Double(1.0)

    Permalink
  6. final val MINMAX_MIN: Double(-1.0)

    Permalink
  7. final val PCA_DIM_1_NAME: String("PCA1")

    Permalink
  8. final val PCA_DIM_2_NAME: String("PCA2")

    Permalink
  9. final val PCA_INTERNAL_ARRAY_NAME: String("pcaArrayColumn")

    Permalink
  10. final val SI_NAME: String("_si")

    Permalink
  11. final val STANDARD_SCALER_MEAN: Boolean(true)

    Permalink
  12. final val STANDARD_SCALER_STDDEV: Boolean(true)

    Permalink
  13. final val TEMP_LABEL_NAME: String("tempLabel")

    Permalink
  14. final val VECTOR_INTERNAL_NAME: String("preScaledFeatures")

    Permalink
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  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 executePipeline(data: DataFrame): PCAReducerResult

    Permalink

    Main Method for getting a two dimensional PCA analysis for charting of the principle components in a scatter plot and to get the explained variances and the principle components matrix

    Main Method for getting a two dimensional PCA analysis for charting of the principle components in a scatter plot and to get the explained variances and the principle components matrix

    data

    raw dataframe to analyze

    returns

    PCAReducerResult, consisting of the 2 dimensional principle components of the data, the explained variances, and the PC matrix

    Since

    0.7.2

  20. var featureColumn: String

    Permalink
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getFeatureColumn: String

    Permalink
  24. def getLabelColumn: String

    Permalink
  25. def getPcaFeatureColumn: String

    Permalink
  26. def getScalerType: String

    Permalink
  27. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  29. var labelColumn: String

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. var pcaFeatureColumn: String

    Permalink
  34. var reportMode: String

    Permalink
  35. lazy val sc: SparkContext

    Permalink
    Definition Classes
    SparkSessionWrapper
  36. var scalerType: String

    Permalink
  37. def setFeatureColumn(value: String): PCAReducer.this.type

    Permalink
  38. def setLabelColumn(value: String): PCAReducer.this.type

    Permalink
  39. def setPcaFeatureColumn(value: String): PCAReducer.this.type

    Permalink
  40. def setScalerType(value: String): PCAReducer.this.type

    Permalink
  41. lazy val spark: SparkSession

    Permalink
    Definition Classes
    SparkSessionWrapper
  42. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def withConvertedColumns: PCAReducer.this.type

    Permalink
  48. def withMaxAbsScaling: PCAReducer.this.type

    Permalink
  49. def withMinMaxScaling: PCAReducer.this.type

    Permalink
  50. def withOriginalColumns: PCAReducer.this.type

    Permalink
  51. def withStandardScaling: PCAReducer.this.type

    Permalink

Inherited from SparkSessionWrapper

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped