Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,9 +44,13 @@ with app:
|
|
| 44 |
else:
|
| 45 |
st.warning("⚠️ Please enter some text to predict.")
|
| 46 |
with model_eval:
|
| 47 |
-
st.header("Model
|
| 48 |
st.write("Model comparison is essential in machine learning to ensure that the chosen model provides the best possible performance for a given task. Different models have varying strengths and weaknesses depending on the dataset, complexity, and generalization capability.")
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
# NAIVE BAYES
|
| 51 |
st.header("Naive Bayes")
|
| 52 |
st.image("naiveBayes.png")
|
|
|
|
| 44 |
else:
|
| 45 |
st.warning("⚠️ Please enter some text to predict.")
|
| 46 |
with model_eval:
|
| 47 |
+
st.header("Model Evaluation")
|
| 48 |
st.write("Model comparison is essential in machine learning to ensure that the chosen model provides the best possible performance for a given task. Different models have varying strengths and weaknesses depending on the dataset, complexity, and generalization capability.")
|
| 49 |
|
| 50 |
+
st.write("The Fake News Detection model was trained to classify news as 'FAKE' or 'REAL'. The dataset was taken from Kaggle.")
|
| 51 |
+
st.write("Dataset by Rajat Kumar: [Kaggle Link](https://www.kaggle.com/datasets/rajatkumar30/fake-news)")
|
| 52 |
+
|
| 53 |
+
|
| 54 |
# NAIVE BAYES
|
| 55 |
st.header("Naive Bayes")
|
| 56 |
st.image("naiveBayes.png")
|