I\'m trying a classification with python. I\'m using Naive Bayes MultinomialNB classifier for the web pages (Retrieving data form web to text , later I classify this text: web c
The problem is that by applying dimensionality reduction, you will generate negative features. However, Multinominal NB does not take negative features. Please refer to this questions.
Try another classifier such as RandomForest or try using sklearn.preprocessing.MinMaxScaler()
to scale your training features to [0,1]