Class

com.intel.analytics.bigdl.example.textclassification

TextClassificationParams

Related Doc: package textclassification

Permalink

case class TextClassificationParams(baseDir: String = "./", maxSequenceLength: Int = 1000, maxWordsNum: Int = 20000, trainingSplit: Double = 0.8, batchSize: Int = 128, embeddingDim: Int = 100, partitionNum: Int = 4) extends 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

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

Instance Constructors

  1. new TextClassificationParams(baseDir: String = "./", maxSequenceLength: Int = 1000, maxWordsNum: Int = 20000, trainingSplit: Double = 0.8, batchSize: Int = 128, embeddingDim: Int = 100, 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

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

  6. val batchSize: Int

    Permalink

    size of the mini-batch

  7. def clone(): AnyRef

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

    Permalink

    size of the embedding vector

  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 maxSequenceLength: Int

    Permalink

    number of the tokens

  14. val maxWordsNum: Int

    Permalink

    maximum word to be included

  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val partitionNum: Int

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

    Permalink
    Definition Classes
    AnyRef
  20. val trainingSplit: Double

    Permalink

    percentage of the training data

  21. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped