bigdl.models.textclassifier package
Submodules
bigdl.models.textclassifier.textclassifier module
-
bigdl.models.textclassifier.textclassifier.
analyze_texts
(data_rdd)[source]
-
bigdl.models.textclassifier.textclassifier.
build_model
(class_num)[source]
-
bigdl.models.textclassifier.textclassifier.
pad
(l, fill_value, width)[source]
-
bigdl.models.textclassifier.textclassifier.
text_to_words
(review_text)[source]
-
bigdl.models.textclassifier.textclassifier.
to_sample
(vectors, label, embedding_dim)[source]
-
bigdl.models.textclassifier.textclassifier.
to_vec
(token, b_w2v, embedding_dim)[source]
-
bigdl.models.textclassifier.textclassifier.
train
(sc, data_path, batch_size, sequence_len, max_words, embedding_dim, training_split)[source]
Module contents