kr.ac.kaist.ir.deep.train

DistBeliefCriteria

case class DistBeliefCriteria(miniBatch: Int = 100, validationSize: Int = 20, updateStep: Int = 2, fetchStep: Int = 10, numCores: Int = 1) extends TrainingCriteria with Product with Serializable

Criteria: How to train (for kr.ac.kaist.ir.deep.train.style.DistBeliefTrainStyle)

This case class defines how to train the network. Training parameter is defined in this class.

miniBatch

size of mini-batch (default 100)

validationSize

size of validation set to be generated (default 20)

updateStep

number of numCores × mini-batches between update (default 2)

fetchStep

number of numCores × mini-batches between fetching (default 10)

numCores

number of v-cores in the spark cluster. (default 1)

Note

We recommend set numCores as similar as possible with allocated spark v-cores.

Linear Supertypes
Product, Equals, TrainingCriteria, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DistBeliefCriteria
  2. Product
  3. Equals
  4. TrainingCriteria
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DistBeliefCriteria(miniBatch: Int = 100, validationSize: Int = 20, updateStep: Int = 2, fetchStep: Int = 10, numCores: Int = 1)

    miniBatch

    size of mini-batch (default 100)

    validationSize

    size of validation set to be generated (default 20)

    updateStep

    number of numCores × mini-batches between update (default 2)

    fetchStep

    number of numCores × mini-batches between fetching (default 10)

    numCores

    number of v-cores in the spark cluster. (default 1)

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  9. val fetchStep: Int

    number of numCores × mini-batches between fetching (default 10)

  10. def finalize(): Unit

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

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

    Definition Classes
    Any
  13. val miniBatch: Int

    size of mini-batch (default 100)

    size of mini-batch (default 100)

    Definition Classes
    DistBeliefCriteriaTrainingCriteria
  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. val numCores: Int

    number of v-cores in the spark cluster.

    number of v-cores in the spark cluster. (default 1)

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

    Definition Classes
    AnyRef
  19. val updateStep: Int

    number of numCores × mini-batches between update (default 2)

  20. val validationSize: Int

    size of validation set to be generated (default 20)

    size of validation set to be generated (default 20)

    Definition Classes
    DistBeliefCriteriaTrainingCriteria
  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 Product

Inherited from Equals

Inherited from TrainingCriteria

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped