case classTextClassificationParams(baseDir: String = "./", maxSequenceLength: Int = 1000, maxWordsNum: Int = 20000, trainingSplit: Double = 0.8, batchSize: Int = 128, embeddingDim: Int = 100, partitionNum: Int = 4) extends AbstractTextClassificationParams with Product with Serializable
This example use a (pre-trained GloVe embedding) to convert word to vector,
and uses it to train a text classification model on the 20 Newsgroup dataset
with 20 different categories.
case classWordMeta(count: Int, index: Int) extends Product with Serializable