Class/Object

com.intel.analytics.zoo.pipeline.estimator

Estimator

Related Docs: object Estimator | package estimator

Permalink

class Estimator[T] extends AbstractEstimator[T]

Estimator class for training and evaluation BigDL models.

Estimator wraps a model, and provide an uniform training, evaluation or prediction operation on both local host and distributed spark environment.

T

tensor numeric type

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Estimator
  2. AbstractEstimator
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 clearGradientClipping(): Unit

    Permalink

    Clear gradient clipping parameters.

    Clear gradient clipping parameters. In this case, gradient clipping will not be applied. In order to take effect, it needs to be called before fit.

  6. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def evaluate(validationSet: FeatureSet[MiniBatch[T]], validationMethod: Array[ValidationMethod[T]]): Map[ValidationMethod[T], ValidationResult]

    Permalink

    Evaluate the model on the validationSet with the validationMethods.

    Evaluate the model on the validationSet with the validationMethods.

    validationSet

    validation FeatureSet

    validationMethod

    validation methods

    returns

    validation results

    Definition Classes
    EstimatorAbstractEstimator
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val gradientClipping: ArrayBuffer[GradientClipping]

    Permalink
    Attributes
    protected
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. var internalEstimator: AbstractEstimator[T]

    Permalink
    Attributes
    protected
  15. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def setConstantGradientClipping(min: Double, max: Double): Unit

    Permalink

    Set constant gradient clipping during the training process.

    Set constant gradient clipping during the training process. In order to take effect, it needs to be called before fit.

    min

    The minimum value to clip by. Double.

    max

    The maximum value to clip by. Double.

  20. def setGradientClippingByL2Norm(clipNorm: Double): Unit

    Permalink

    Clip gradient to a maximum L2-Norm during the training process.

    Clip gradient to a maximum L2-Norm during the training process. In order to take effect, it needs to be called before fit.

    clipNorm

    Gradient L2-Norm threshold. Double.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def train(trainSet: FeatureSet[MiniBatch[T]], criterion: Criterion[T], endTrigger: Option[Trigger] = None, checkPointTrigger: Option[Trigger] = None, validationSet: FeatureSet[MiniBatch[T]] = null, validationMethod: Array[ValidationMethod[T]] = null): Estimator.this.type

    Permalink

    Train model with provided trainSet and criterion.

    Train model with provided trainSet and criterion. The training will end until the endTrigger is triggered. During the training, if checkPointTrigger is defined and triggered, the model will be saved to modelDir. And if validationSet and validationMethod is defined, the model will be evaluated at the checkpoint.

    trainSet

    training FeatureSet

    criterion

    Loss function

    endTrigger

    When to finish the training

    checkPointTrigger

    When to save a checkpoint and evaluate model.

    validationSet

    Validation FeatureSet.

    validationMethod

    Validation Methods.

    returns

    self

    Definition Classes
    EstimatorAbstractEstimator
  24. final def wait(): Unit

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

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

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

Inherited from AbstractEstimator[T]

Inherited from AnyRef

Inherited from Any

Ungrouped