keystoneml.nodes.learning

BatchPCATransformer

case class BatchPCATransformer(pcaMat: DenseMatrix[Float]) extends Transformer[DenseMatrix[Float], DenseMatrix[Float]] with Logging with Product with Serializable

Performs dimensionality reduction on an input dataset where each input item is an NxD array and the projection matrix is a DxK array.

pcaMat

A DxK projection matrix.

Linear Supertypes
Product, Equals, Logging, Transformer[DenseMatrix[Float], DenseMatrix[Float]], Chainable[DenseMatrix[Float], DenseMatrix[Float]], TransformerOperator, Serializable, Serializable, Operator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BatchPCATransformer
  2. Product
  3. Equals
  4. Logging
  5. Transformer
  6. Chainable
  7. TransformerOperator
  8. Serializable
  9. Serializable
  10. Operator
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchPCATransformer(pcaMat: DenseMatrix[Float])

    pcaMat

    A DxK projection matrix.

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 andThen[C, L](est: LabelEstimator[DenseMatrix[Float], C, L], data: PipelineDataset[DenseMatrix[Float]], labels: PipelineDataset[L]): Pipeline[DenseMatrix[Float], C]

    Chains a label estimator onto the end of this pipeline, producing a new pipeline.

    Chains a label estimator onto the end of this pipeline, producing a new pipeline. If this pipeline has already been executed, it will not need to be fit again.

    est

    The estimator to chain onto the end of this pipeline

    data

    The training data to use (the estimator will be fit on the result of passing this data through the current pipeline)

    labels

    The labels to use when fitting the LabelEstimator. Must be zippable with the training data.

    Definition Classes
    Chainable
  7. final def andThen[C, L](est: LabelEstimator[DenseMatrix[Float], C, L], data: RDD[DenseMatrix[Float]], labels: PipelineDataset[L]): Pipeline[DenseMatrix[Float], C]

    Chains a label estimator onto the end of this pipeline, producing a new pipeline.

    Chains a label estimator onto the end of this pipeline, producing a new pipeline. If this pipeline has already been executed, it will not need to be fit again.

    est

    The estimator to chain onto the end of this pipeline

    data

    The training data to use (the estimator will be fit on the result of passing this data through the current pipeline)

    labels

    The labels to use when fitting the LabelEstimator. Must be zippable with the training data.

    Definition Classes
    Chainable
  8. final def andThen[C, L](est: LabelEstimator[DenseMatrix[Float], C, L], data: PipelineDataset[DenseMatrix[Float]], labels: RDD[L]): Pipeline[DenseMatrix[Float], C]

    Chains a label estimator onto the end of this pipeline, producing a new pipeline.

    Chains a label estimator onto the end of this pipeline, producing a new pipeline. If this pipeline has already been executed, it will not need to be fit again.

    est

    The estimator to chain onto the end of this pipeline

    data

    The training data to use (the estimator will be fit on the result of passing this data through the current pipeline)

    labels

    The labels to use when fitting the LabelEstimator. Must be zippable with the training data.

    Definition Classes
    Chainable
  9. final def andThen[C, L](est: LabelEstimator[DenseMatrix[Float], C, L], data: RDD[DenseMatrix[Float]], labels: RDD[L]): Pipeline[DenseMatrix[Float], C]

    Chains a label estimator onto the end of this pipeline, producing a new pipeline.

    Chains a label estimator onto the end of this pipeline, producing a new pipeline. If this pipeline has already been executed, it will not need to be fit again.

    est

    The estimator to chain onto the end of this pipeline

    data

    The training data to use (the estimator will be fit on the result of passing this data through the current pipeline)

    labels

    The labels to use when fitting the LabelEstimator. Must be zippable with the training data.

    Definition Classes
    Chainable
  10. final def andThen[C](est: Estimator[DenseMatrix[Float], C], data: PipelineDataset[DenseMatrix[Float]]): Pipeline[DenseMatrix[Float], C]

    Chains an estimator onto the end of this pipeline, producing a new pipeline.

    Chains an estimator onto the end of this pipeline, producing a new pipeline. If this pipeline has already been executed, it will not need to be fit again.

    est

    The estimator to chain onto the end of this pipeline

    data

    The training data to use (the estimator will be fit on the result of passing this data through the current pipeline)

    Definition Classes
    Chainable
  11. final def andThen[C](est: Estimator[DenseMatrix[Float], C], data: RDD[DenseMatrix[Float]]): Pipeline[DenseMatrix[Float], C]

    Chains an estimator onto the end of this pipeline, producing a new pipeline.

    Chains an estimator onto the end of this pipeline, producing a new pipeline. If this pipeline has already been executed, it will not need to be fit again.

    est

    The estimator to chain onto the end of this pipeline

    data

    The training data to use (the estimator will be fit on the result of passing this data through the current pipeline)

    Definition Classes
    Chainable
  12. final def andThen[C](next: Chainable[DenseMatrix[Float], C]): Pipeline[DenseMatrix[Float], C]

    Chains a pipeline onto the end of this one, producing a new pipeline.

    Chains a pipeline onto the end of this one, producing a new pipeline. If either this pipeline or the following has already been executed, it will not need to be fit again.

    next

    the pipeline to chain

    Definition Classes
    Chainable
  13. def apply(in: DenseMatrix[Float]): DenseMatrix[Float]

    The application of this Transformer to a single input item.

    The application of this Transformer to a single input item. This method MUST be overridden by ML developers.

    in

    The input item to pass into this transformer

    returns

    The output value

    Definition Classes
    BatchPCATransformerTransformer
  14. def apply(in: RDD[DenseMatrix[Float]]): RDD[DenseMatrix[Float]]

    The application of this Transformer to an RDD of input items.

    The application of this Transformer to an RDD of input items. This method may optionally be overridden by ML developers.

    in

    The bulk RDD input to pass into this transformer

    returns

    The bulk RDD output for the given input

    Definition Classes
    Transformer
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  18. def execute(deps: Seq[Expression]): Expression

    Definition Classes
    TransformerOperator → Operator
  19. def finalize(): Unit

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

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

    Definition Classes
    Any
  22. def label: String

    Definition Classes
    Operator
  23. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  37. val pcaMat: DenseMatrix[Float]

    A DxK projection matrix.

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

    Definition Classes
    AnyRef
  39. def toPipeline: Pipeline[DenseMatrix[Float], DenseMatrix[Float]]

    A method that converts this object into a Pipeline.

    A method that converts this object into a Pipeline. Must be implemented by anything that extends Chainable.

    Definition Classes
    TransformerChainable
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from Transformer[DenseMatrix[Float], DenseMatrix[Float]]

Inherited from Chainable[DenseMatrix[Float], DenseMatrix[Float]]

Inherited from TransformerOperator

Inherited from Serializable

Inherited from Serializable

Inherited from Operator

Inherited from AnyRef

Inherited from Any

Ungrouped