keystoneml.nodes.learning

DistributedPCAEstimator

class DistributedPCAEstimator extends Estimator[DenseVector[Float], DenseVector[Float]] with CostModel with Logging

Estimates a PCA model for dimensionality reduction using a distributedQR.

Linear Supertypes
Logging, CostModel, Estimator[DenseVector[Float], DenseVector[Float]], EstimatorOperator, Serializable, Serializable, Operator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DistributedPCAEstimator
  2. Logging
  3. CostModel
  4. Estimator
  5. EstimatorOperator
  6. Serializable
  7. Serializable
  8. Operator
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DistributedPCAEstimator(dims: Int)

    dims

    Dimensions to reduce input dataset to.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def computePCA(dataMat: RDD[DenseVector[Float]], dims: Int): DenseMatrix[Float]

  9. def cost(n: Long, d: Int, k: Int, sparsity: Double, numMachines: Int, cpuWeight: Double, memWeight: Double, networkWeight: Double): Double

    Definition Classes
    DistributedPCAEstimatorCostModel
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def execute(deps: Seq[Expression]): TransformerExpression

    Definition Classes
    EstimatorOperator → Operator
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fit(samples: RDD[DenseVector[Float]]): PCATransformer

    Adapted from the "PCA2" matlab code given in appendix B of this paper: https://www.

    Adapted from the "PCA2" matlab code given in appendix B of this paper: https://www.cs.princeton.edu/picasso/mats/PCA-Tutorial-Intuition_jp.pdf

    samples

    Features to be reduced. Logically row-major.

    returns

    A PCA model which will perform dimensionality reduction when applied to data.

    Definition Classes
    DistributedPCAEstimatorEstimator
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. def label: String

    Definition Classes
    Operator
  19. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  30. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def withData(data: PipelineDataset[DenseVector[Float]]): Pipeline[DenseVector[Float], DenseVector[Float]]

    Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.

    Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.

    data

    The training data

    returns

    A pipeline that fits this estimator and applies the result to inputs.

    Definition Classes
    Estimator
  39. final def withData(data: RDD[DenseVector[Float]]): Pipeline[DenseVector[Float], DenseVector[Float]]

    Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.

    Constructs a pipeline that fits this estimator to training data, then applies the resultant transformer to the Pipeline input.

    data

    The training data

    returns

    A pipeline that fits this estimator and applies the result to inputs.

    Definition Classes
    Estimator

Inherited from Logging

Inherited from CostModel

Inherited from Estimator[DenseVector[Float], DenseVector[Float]]

Inherited from EstimatorOperator

Inherited from Serializable

Inherited from Serializable

Inherited from Operator

Inherited from AnyRef

Inherited from Any

Ungrouped