all kinds of text classification models and more with deep learning
nlp
text-classification
tensorflow
classification
convolutional-neural-networks
sentence-classification
fasttext
attention-mechanism
multi-label
memory-networks
multi-class
textcnn
textrnn
-
Updated
May 20, 2020 - Python
Hi I would like to propose a better implementation for 'test_indices':
We can remove the unneeded np.array casting:
Cleaner/New:
test_indices = list(set(range(len(texts))) - set(train_indices))
Old:
test_indices = np.array(list(set(range(len(texts))) - set(train_indices)))