From 906f054015caaa686f966a19c651778ce04e3a2b Mon Sep 17 00:00:00 2001 From: abdullahhas Date: Tue, 29 Jul 2025 17:46:44 +0500 Subject: [PATCH] Added question about model accuracy --- model.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/model.py b/model.py index 9e42e9b..57d8929 100644 --- a/model.py +++ b/model.py @@ -72,4 +72,7 @@ def text_preprocessing(mystr): filename = 'NaiveModel.pkl' pickle.dump(model, open(filename, 'wb')) - \ No newline at end of file + + + +# 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?"