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
Ordering
- Alphabetic
- By Inheritance
Inherited
- TextClassificationParams
- Product
- Equals
- AbstractTextClassificationParams
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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)
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
baseDir: String
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
val
batchSize: Int
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
embeddingDim: Int
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
learningRate: Double
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
val
maxSequenceLength: Int
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
val
maxWordsNum: Int
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
partitionNum: Int
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
trainingSplit: Double
- Definition Classes
- TextClassificationParams → AbstractTextClassificationParams
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )