" if (Symptom1.get() == \"None\" and Symptom2.get() == \"None\" and Symptom3.get() == \"None\" and Symptom4.get() == \"None\" and Symptom5.get() == \"None\"):\n",
" messagebox.showinfo(\"OPPS!!\", \"PLEASE SELECT THE SYMPTOMS???\")\n",
" else :\n",
" StagePrediction()"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "aa320320",
"metadata": {},
"outputs": [],
"source": [
"def StagePrediction():\n",
" from sklearn.naive_bayes import MultinomialNB\n",
"C:\\Users\\ACER\\anaconda3\\lib\\site-packages\\sklearn\\base.py:450: UserWarning: X does not have valid feature names, but MultinomialNB was fitted with feature names\n",