krishnaik06 / Fake-News-Classifier

92 stars 106 forks source link

HashingVectorizer #5

Open Saumya1915 opened 3 years ago

Saumya1915 commented 3 years ago

image I'm getting this error kindly help me with this

abhinav9629 commented 3 years ago

The non_negative attribute is deprecated and has been removed in newer versions. Try putting : hs_vectorizer = HashingVectorizer(n_features=5000, alternate_sign=False)