countvectorizer

why smote raise "Found input variables with inconsistent numbers of samples"?

why smote raise "Found input variables with inconsistent numbers of samples"? Question: I try to classify emotion from tweet with dataset of 4401 tweet, when i use smaller sample of data (around 15 tweet) everything just work fine, but when i use the full dataset it raise the error of Found input variables with inconsistent …

Total answers: 2

How to make text classification gives a None category

How to make text classification gives a None category Question: I’m doing text classification for dialects. After I trained it for 3 types of dialects, I tested it with the test data I have. However, now suppose I’m going to extract a tweet from twitter, and ask the classifier to output the corresponding dialect, but …

Total answers: 2

get_feature_names not found in countvectorizer()

get_feature_names not found in countvectorizer() Question: I’m mining the Stack Overflow data dump of posts about deep learning libraries. I’d like to identify stop words in my corpus (like ‘python’ for instance). I want to get my feature names so I can identify the words with highest term frequencies. I create my documents and my …

Total answers: 2