Class

keystoneml.nodes.images

ScalaGMMFisherVectorEstimator

Related Doc: package images

Permalink

case class ScalaGMMFisherVectorEstimator(k: Int) extends Estimator[DenseMatrix[Float], DenseMatrix[Float]] with Product with Serializable

Trains a scala Fisher Vector implementation, via estimating a GMM by treating each column of the inputs as a separate DenseVector input to GaussianMixtureModelEstimator

TODO: Pending philosophical discussions on how to best make it so you can swap in GMM, KMeans++, etc. for Fisher Vectors. For now just hard-codes GMM here

k

Number of centers to estimate.

Linear Supertypes
Product, Equals, Estimator[DenseMatrix[Float], DenseMatrix[Float]], EstimatorOperator, Serializable, Serializable, Operator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaGMMFisherVectorEstimator
  2. Product
  3. Equals
  4. Estimator
  5. EstimatorOperator
  6. Serializable
  7. Serializable
  8. Operator
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaGMMFisherVectorEstimator(k: Int)

    Permalink

    k

    Number of centers to estimate.

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 execute(deps: Seq[Expression]): TransformerExpression

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fit(data: RDD[DenseMatrix[Float]]): FisherVector

    Permalink

    The type-safe method that ML developers need to implement when writing new Estimators.

    The type-safe method that ML developers need to implement when writing new Estimators.

    data

    The estimator's training data.

    returns

    A new transformer

    Definition Classes
    ScalaGMMFisherVectorEstimatorEstimator
  10. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  12. val k: Int

    Permalink

    Number of centers to estimate.

  13. def label: String

    Permalink
    Definition Classes
    Operator
  14. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink

    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
  22. final def withData(data: RDD[DenseMatrix[Float]]): Pipeline[DenseMatrix[Float], DenseMatrix[Float]]

    Permalink

    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 Product

Inherited from Equals

Inherited from Estimator[DenseMatrix[Float], DenseMatrix[Float]]

Inherited from EstimatorOperator

Inherited from Serializable

Inherited from Serializable

Inherited from Operator

Inherited from AnyRef

Inherited from Any

Ungrouped