Class

ai.minxiao.ds4s.core.dl4j.learning

ESLearner

Related Doc: package learning

Permalink

class ESLearner[T <: Model] extends Serializable

ESLearner

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ESLearner
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ESLearner(modelSaver: String = "in-memory-model", directory: String = "./", encoding: Charset = Charset.defaultCharset, saveLastModel: Boolean = false, epochTerminationConditions: Array[String] = Array("max-epochs"), maxEpochs: Int = 10, bestExpectedScore: Double = 1E-3, lesserBetter: Boolean = true, maxEpochsWithNoImprovement: Int = 5, minImprovement: Double = 1E-3, evaluateEveryNEpochs: Int = 1, iterationTerminationConditions: Array[String] = Array("invalid-score-iteration"), maxScore: Double = 1E-3, maxTimeAmount: Long = 30L, maxTimeUnit: TimeUnit = TimeUnit.MINUTES, scoreCalculator: String = "dataset-loss", dataSetIterator: DataSetIterator, average: Boolean = true, rocType: ROCType = ROCType.ROC, rocMetric: Metric = ROCMetric.AUC)

    Permalink

    modelSaver

    model saver type, options: in-memory-model, local-file-graph, local-file-model, default="in-memory-model"

    directory

    model save directory for local-file modes, default="./"

    encoding

    model encoding for local-file modes, default=Charset.defaultCharset options:

    US-ASCII	Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set
    ISO-8859-1  	ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1
    UTF-8	Eight-bit UCS Transformation Format
    UTF-16BE	Sixteen-bit UCS Transformation Format, big-endian byte order
    UTF-16LE	Sixteen-bit UCS Transformation Format, little-endian byte order
    UTF-16	Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark

    saveLastModel whether also save the last model in additional to the best model, default=false

    epochTerminationConditions

    epoch termination conditions, default=Array("max-epochs") all possible options: "max-epochs", "best-score-epoch", "score-improvement-epoch"

    maxEpochs

    max epochs for max-epochs, default=10

    lesserBetter

    whether lesser is better for the score of "best-score-epoch", default=true

    maxEpochsWithNoImprovement

    max epochs (consecutive epochs) without improvements, default=5

    minImprovement

    min improvement, default=1E-3

    evaluateEveryNEpochs

    evaluate every N epochs, default=1

    iterationTerminationConditions

    iteration termination conditions, default=Array("invalid-score-iteration") all possible options: "invalid-score-iteration", "max-score-iteration", "max-time-iteration"

    maxScore

    max score for "max-score-iteration", default=1E-3

    maxTimeAmount

    max time amount, default=30L,

    scoreCalculator

    score calculator, default="dataset-loss" all options: "dataset-loss", "roc-score"

    dataSetIterator

    dataset for score calculation, required, must be provided

    average

    whether to average the score, default=true

    rocType

    ROCType, default=ROCType.ROC, all options {ROC, BINARY, MULTICLASS}

    rocMetric

    ROC Metric, default=Metric.AUC, all options {AUC, AUPRC}

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 equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. def printESResult(esResult: EarlyStoppingResult[MultiLayerNetwork]): Unit

    Permalink
  16. def run(net: MultiLayerNetwork, trainData: DataSetIterator, printResult: Boolean = false): EarlyStoppingResult[MultiLayerNetwork]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. 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