Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,7 @@ def text_preprocessing(mystr):

filename = 'NaiveModel.pkl'
pickle.dump(model, open(filename, 'wb'))




# Hi, I just cloned your repo and noticed something interesting. We're both using the same dataset and model, but I'm curious whether your model predicts accurately even though the data is imbalanced. You're using only predict() without any class weights or threshold tuning, right? Can you please let me know how it's still performing well on the spam class?"