edu.stanford.nlp.tmt.learn

Train

object Train extends AnyRef

Static method for resumable training of a model.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Train
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def apply [Summary] (iteration: () ⇒ Summary, maxIterations: Option[Int], output: Option[File], saveState: Option[(File) ⇒ Unit], loadState: Option[(File) ⇒ Unit], description: Option[String], outputIterations: Option[Int], convergence: Option[(List[(Int, Summary)]) ⇒ Boolean], maxHistory: Option[Int], log: (String) ⇒ Unit)(implicit arg0: ReadWritable[Summary]): Unit

    Resumable model training with a status summary.

    Resumable model training with a status summary.

    iteration

    One iteration of learning, returning some summary of the computation

    maxIterations

    Hard maximum number of iterations of learning.

    output

    Target for saving the final model (and periodic intermediate models if outputIterations is defined).

    saveState

    Saves the state of the model to the given folder. Mandatory if output is not None.

    loadState

    Loads the state of the model from the given folder. Mandatory if output is not None.

    description

    Some (human-readable) description of the source of the model and data. For checking if the right model is stored on disk for resumed training.

    outputIterations

    If defined, saves the intermediate state of the model (and its history) every outputIterations iterations (e.g. every 50 iterations if outputIterations=Some(50)).

    convergence

    Test if the model has converged from a list of iteration numbers and summaries. The length of the list is maxHistory if maxHistory is defined, else the length of the history list is unbounded.

    maxHistory

    Maximum length of history provided to convergence.

    log

    Where status messages go.

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

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

    Attributes
    final
    Definition Classes
    AnyRef
  10. def equals (arg0: Any): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  13. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  15. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  18. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  19. def toString (): String

    Definition Classes
    AnyRef → Any
  20. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any