You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When I try to run the project python sentiment.py data/imdb/ 0
I get those errors
File "sentiment.py", line 251, in
main()
File "sentiment.py", line 31, in main
train_pos_vec, train_neg_vec, test_pos_vec, test_neg_vec = feature_vecs_NLP(train_pos, train_neg, test_pos, test_neg)
File "sentiment.py", line 97, in feature_vecs_NLP
(val >= len(train_pos)/100 or neg_words.get(key) >= len(train_neg)/100) and
TypeError: '>=' not supported between instances of 'NoneType' and 'float'
The text was updated successfully, but these errors were encountered:
Hello,
When I try to run the project python sentiment.py data/imdb/ 0
I get those errors
File "sentiment.py", line 251, in
main()
File "sentiment.py", line 31, in main
train_pos_vec, train_neg_vec, test_pos_vec, test_neg_vec = feature_vecs_NLP(train_pos, train_neg, test_pos, test_neg)
File "sentiment.py", line 97, in feature_vecs_NLP
(val >= len(train_pos)/100 or neg_words.get(key) >= len(train_neg)/100) and
TypeError: '>=' not supported between instances of 'NoneType' and 'float'
The text was updated successfully, but these errors were encountered: