Class

com.intel.analytics.bigdl.example.utils

TextClassificationParams

Related Doc: package utils

Permalink

case class TextClassificationParams(baseDir: String = "./", maxSequenceLength: Int = 500, maxWordsNum: Int = 5000, trainingSplit: Double = 0.8, batchSize: Int = 128, embeddingDim: Int = 200, learningRate: Double = 0.01, partitionNum: Int = 4) extends AbstractTextClassificationParams with Product with Serializable

baseDir

The root directory which containing the training and embedding data

maxSequenceLength

number of the tokens

maxWordsNum

maximum word to be included

trainingSplit

percentage of the training data

batchSize

size of the mini-batch

embeddingDim

size of the embedding vector

learningRate

learning rate

Linear Supertypes
Product, Equals, AbstractTextClassificationParams, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextClassificationParams
  2. Product
  3. Equals
  4. AbstractTextClassificationParams
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextClassificationParams(baseDir: String = "./", maxSequenceLength: Int = 500, maxWordsNum: Int = 5000, trainingSplit: Double = 0.8, batchSize: Int = 128, embeddingDim: Int = 200, learningRate: Double = 0.01, partitionNum: Int = 4)

    Permalink

    baseDir

    The root directory which containing the training and embedding data

    maxSequenceLength

    number of the tokens

    maxWordsNum

    maximum word to be included

    trainingSplit

    percentage of the training data

    batchSize

    size of the mini-batch

    embeddingDim

    size of the embedding vector

    learningRate

    learning rate

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. val baseDir: String

    Permalink

    The root directory which containing the training and embedding data

    The root directory which containing the training and embedding data

    Definition Classes
    TextClassificationParamsAbstractTextClassificationParams
  6. val batchSize: Int

    Permalink

    size of the mini-batch

    size of the mini-batch

    Definition Classes
    TextClassificationParamsAbstractTextClassificationParams
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val embeddingDim: Int

    Permalink

    size of the embedding vector

    size of the embedding vector

    Definition Classes
    TextClassificationParamsAbstractTextClassificationParams
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  13. val learningRate: Double

    Permalink

    learning rate

  14. val maxSequenceLength: Int

    Permalink

    number of the tokens

    number of the tokens

    Definition Classes
    TextClassificationParamsAbstractTextClassificationParams
  15. val maxWordsNum: Int

    Permalink

    maximum word to be included

    maximum word to be included

    Definition Classes
    TextClassificationParamsAbstractTextClassificationParams
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. val partitionNum: Int

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

    Permalink
    Definition Classes
    AnyRef
  21. val trainingSplit: Double

    Permalink

    percentage of the training data

    percentage of the training data

    Definition Classes
    TextClassificationParamsAbstractTextClassificationParams
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped