Top "Text-classification" questions

Simply stating, text classification is all about putting a piece of text into a set of (mostly predefined) categories.

How to split data (raw text) into test/train sets with scikit crossvalidation module?

I have a large corpus of opinions (2500) in raw text. I would like to use scikit-learn library to split them …

machine-learning scikit-learn classification cross-validation text-classification
Best machine learning approach to automate text/fuzzy matching

I'm reasonably new to machine learning, I've done a few projects in python. I'm looking for advice on how to …

machine-learning text-classification fuzzy-comparison record-linkage
How to do Text classification using word2vec

I want to perform text classification using word2vec. I got vectors of words. ls = [] sentences = lines.split(".") for i …

python-3.x word2vec gensim text-classification
How to use Bert for long text classification?

We know that BERT has a max length limit of tokens = 512, So if an article has a length of much …

nlp text-classification bert-language-model
Unable to train my keras model : (Data cardinality is ambiguous:)

I am using the bert-for-tf2 library to do a Multi-Class Classification problem. I created the model but training throws the …

machine-learning nlp text-classification tensorflow2.0 tf.keras
TensorFlow - Text Classification using Neural Networks

Is there any example on how can TensorFlow be used for text classification using neural networks?

text-classification tensorflow
How to rank features by their importance in a Weka classifier?

I use Weka to successfully build a classifier. I would now like to evaluate how effective or important my features …

machine-learning nlp weka feature-selection text-classification
How can i classify text documents with using SVM and KNN

Almost all of the examples are based on numbers. In text documents i have words instead of numbers. So can …

svm knn document-classification text-classification
Which algorithms to use for one class classification?

I have over 15000 text docs of a specific topic. I would like to build a language model based on the …

scikit-learn text-classification
Scikit learn - fit_transform on the test set

I am struggling to use Random Forest in Python with Scikit learn. My problem is that I use it for …

machine-learning classification scikit-learn random-forest text-classification