Object/Class

org.apache.predictionio.controller

Engine

Related Docs: class Engine | package controller

Permalink

object Engine extends Serializable

This object contains concrete implementation for some methods of the Engine class.

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

Type Members

  1. class DataSourceMap[TD, EI, Q, A] extends AnyRef

    Permalink

    Helper class to accept either a single data source, or a map of data sources, with a companion object providing implicit conversions, so using this class directly is not necessary.

    Helper class to accept either a single data source, or a map of data sources, with a companion object providing implicit conversions, so using this class directly is not necessary.

    TD

    Training data class

    EI

    Evaluation information class

    Q

    Input query class

    A

    Actual result class

  2. class PreparatorMap[TD, PD] extends AnyRef

    Permalink

    Helper class to accept either a single preparator, or a map of preparators, with a companion object providing implicit conversions, so using this class directly is not necessary.

    Helper class to accept either a single preparator, or a map of preparators, with a companion object providing implicit conversions, so using this class directly is not necessary.

    TD

    Training data class

    PD

    Prepared data class

  3. class ServingMap[Q, P] extends AnyRef

    Permalink

    Helper class to accept either a single serving, or a map of serving, with a companion object providing implicit conversions, so using this class directly is not necessary.

    Helper class to accept either a single serving, or a map of serving, with a companion object providing implicit conversions, so using this class directly is not necessary.

    Q

    Input query class

    P

    Predicted result class

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. object DataSourceMap

    Permalink

    Companion object providing implicit conversions, so using this directly is not necessary.

  5. object PreparatorMap

    Permalink

    Companion object providing implicit conversions, so using this directly is not necessary.

  6. object ServingMap

    Permalink

    Companion object providing implicit conversions, so using this directly is not necessary.

  7. def apply[TD, EI, PD, Q, P, A](dataSourceMap: DataSourceMap[TD, EI, Q, A], preparatorMap: PreparatorMap[TD, PD], algorithmClassMap: Map[String, Class[_ <: BaseAlgorithm[PD, _, Q, P]]], servingMap: ServingMap[Q, P]): Engine[TD, EI, PD, Q, P, A]

    Permalink

    Convenient method for returning an instance of Engine.

    Convenient method for returning an instance of Engine.

    TD

    Training data class

    EI

    Evaluation information class

    PD

    Prepared data class

    Q

    Input query class

    P

    Predicted result class

    A

    Actual result class

    dataSourceMap

    Accepts either an instance of Class of the data source, or a Map of data source classes (implicitly converted to DataSourceMap.

    preparatorMap

    Accepts either an instance of Class of the preparator, or a Map of preparator classes (implicitly converted to PreparatorMap.

    algorithmClassMap

    Accepts a Map of algorithm classes.

    servingMap

    Accepts either an instance of Class of the serving, or a Map of serving classes (implicitly converted to ServingMap.

    returns

    An instance of Engine

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def eval[TD, PD, Q, P, A, EI](sc: SparkContext, dataSource: BaseDataSource[TD, EI, Q, A], preparator: BasePreparator[TD, PD], algorithmList: Seq[BaseAlgorithm[PD, _, Q, P]], serving: BaseServing[Q, P]): Seq[(EI, RDD[(Q, P, A)])]

    Permalink

    Provides concrete implementation of evaluation for Engine.

    Provides concrete implementation of evaluation for Engine.

    TD

    Training data class

    PD

    Prepared data class

    Q

    Input query class

    P

    Predicted result class

    A

    Actual result class

    EI

    Evaluation information class

    sc

    An instance of SparkContext

    dataSource

    An instance of data source

    preparator

    An instance of preparator

    algorithmList

    A list of algorithm instances

    serving

    An instance of serving

    returns

    A list of evaluation information, RDD of query, predicted result, and actual result tuple tuple.

  13. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def train[TD, PD, Q](sc: SparkContext, dataSource: BaseDataSource[TD, _, Q, _], preparator: BasePreparator[TD, PD], algorithmList: Seq[BaseAlgorithm[PD, _, Q, _]], params: WorkflowParams): Seq[Any]

    Permalink

    Provides concrete implementation of training for Engine.

    Provides concrete implementation of training for Engine.

    TD

    Training data class

    PD

    Prepared data class

    Q

    Input query class

    sc

    An instance of SparkContext

    dataSource

    An instance of data source

    preparator

    An instance of preparator

    algorithmList

    A list of algorithm instances

    params

    An instance of WorkflowParams that controls the training process.

    returns

    A list of trained models

  23. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped