kr.ac.kaist.ir.deep.train

SingleThreadTrainStyle

class SingleThreadTrainStyle[IN, OUT] extends TrainStyle[IN, OUT]

Trainer : Stochastic-Style, Single-Threaded

Linear Supertypes
TrainStyle[IN, OUT], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SingleThreadTrainStyle
  2. TrainStyle
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingleThreadTrainStyle(net: Network, algorithm: WeightUpdater, make: ManipulationType[IN, OUT] = new VectorType(), param: TrainingCriteria = SimpleTrainingCriteria())

    net

    Network to be trained

    algorithm

    Weight update algorithm to be applied

    make

    Input Operation that supervises how to manipulate input as matrices. This also controls how to compute actual network. (default: VectorType)

    param

    Training criteria (default: SimpleTrainingCriteria)

Type Members

  1. type Pair = (IN, OUT)

    Training Pair Type

    Training Pair Type

    Definition Classes
    TrainStyle
  2. type Sampler = (Int) ⇒ Seq[OUT]

    Sampler Type

    Sampler Type

    Definition Classes
    TrainStyle
  3. implicit class WeightOp extends Serializable

    Implicit weight operation

    Implicit weight operation

    Definition Classes
    TrainStyle

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val algorithm: WeightUpdater

    Weight update algorithm to be applied

    Weight update algorithm to be applied

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def batch(): Unit

    Do mini-batch

    Do mini-batch

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  10. def fetch(iter: Int): Unit

    Fetch weights

    Fetch weights

    iter

    current iteration

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def foreachTestSet(n: Int)(fn: ((IN, OUT)) ⇒ Unit): Unit

    Iterate over given number of test instances

    Iterate over given number of test instances

    n

    number of random sampled instances

    fn

    iteratee function

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  13. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  16. def isUpdateFinished: Future[_]

    Indicates whether the asynchronous update is finished or not.

    Indicates whether the asynchronous update is finished or not.

    returns

    future object of update

    Definition Classes
    TrainStyle
  17. val logger: Logger

    Logger

    Logger

    Attributes
    protected
    Definition Classes
    TrainStyle
  18. val make: ManipulationType[IN, OUT]

    Input Operation that supervises how to manipulate input as matrices.

    Input Operation that supervises how to manipulate input as matrices. This also controls how to compute actual network. (default: VectorType)

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. val net: Network

    Network to be trained

    Network to be trained

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val param: TrainingCriteria

    Training criteria (default: SimpleTrainingCriteria)

    Training criteria (default: SimpleTrainingCriteria)

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  24. def setPositiveTrainingReference(set: RDD[(IN, OUT)]): Unit

    Set training instances

    Set training instances

    set

    RDD of training set

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  25. def setPositiveTrainingReference(set: Seq[(IN, OUT)]): Unit

    Set training instances

    Set training instances

    set

    Sequence of training set

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  26. def setTestReference(set: RDD[(IN, OUT)]): Unit

    Set testing instances

    Set testing instances

    set

    RDD of testing set

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  27. def setTestReference(set: Seq[(IN, OUT)]): Unit

    Set testing instances

    Set testing instances

    set

    Sequence of testing set

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  28. def stopUntilBatchFinished(): Unit

    Non-blocking pending, until all assigned batches are finished

    Non-blocking pending, until all assigned batches are finished

    Definition Classes
    TrainStyle
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def update(iter: Int): Unit

    Send update of weights

    Send update of weights

    iter

    current iteration

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  32. var validationEpoch: Int

    size of training set

    size of training set

    Definition Classes
    TrainStyle
  33. def validationError(): Scalar

    Calculate validation error

    Calculate validation error

    returns

    validation error

    Definition Classes
    SingleThreadTrainStyleTrainStyle
  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TrainStyle[IN, OUT]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped