kr.ac.kaist.ir.deep.train

TrainStyle

trait TrainStyle[IN, OUT] extends Serializable

Trait that describes style of training

This trait controls how to train, i.e. Single-threaded or Distributed.

IN

the type of input

OUT

the type of output

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TrainStyle
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Pair = (IN, OUT)

    Training Pair Type

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

    Sampler Type

  3. implicit class WeightOp extends Serializable

    Implicit weight operation

Abstract Value Members

  1. abstract val algorithm: WeightUpdater

    Algorithm

  2. abstract def batch(): Unit

    Do mini-batch

  3. abstract def fetch(iter: Int): Unit

    Fetch weights

    Fetch weights

    iter

    current iteration

  4. abstract def foreachTestSet(n: Int)(fn: (Pair) ⇒ 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

  5. abstract val make: ManipulationType[IN, OUT]

    Set of input manipulations

  6. abstract val net: Network

    Network

  7. abstract val param: TrainingCriteria

    Training parameters

  8. abstract def setNegativeTrainingReference(set: RDD[OUT]): Unit

    Set negative sampling method.

    Set negative sampling method.

    set

    all training outputs that will be used for negative training

  9. abstract def setNegativeTrainingReference(set: Seq[OUT]): Unit

    Set negative sampling method.

    Set negative sampling method.

    set

    all training outputs that will be used for negative training

  10. abstract def setPositiveTrainingReference(set: RDD[Pair]): Unit

    Set training instances

    Set training instances

    set

    RDD of training set

  11. abstract def setPositiveTrainingReference(set: Seq[Pair]): Unit

    Set training instances

    Set training instances

    set

    Sequence of training set

  12. abstract def setTestReference(set: RDD[Pair]): Unit

    Set testing instances

    Set testing instances

    set

    RDD of testing set

  13. abstract def setTestReference(set: Seq[Pair]): Unit

    Set testing instances

    Set testing instances

    set

    Sequence of testing set

  14. abstract def update(iter: Int): Unit

    Send update of weights

    Send update of weights

    iter

    current iteration

  15. abstract def validationError(): Scalar

    Calculate validation error

    Calculate validation error

    returns

    validation error

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  12. 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

  13. val logger: Logger

    Logger

    Logger

    Attributes
    protected
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

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

    Definition Classes
    AnyRef
  17. def stopUntilBatchFinished(): Unit

    Non-blocking pending, until all assigned batches are finished

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

    Definition Classes
    AnyRef
  19. def toString(): String

    Definition Classes
    AnyRef → Any
  20. var validationEpoch: Int

    size of training set

  21. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped