Update readme.md
Browse files
readme.md
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##AG News Text Classifier (ML)
|
| 2 |
+
|
| 3 |
+
# Model description
|
| 4 |
+
This model is a Logistic Regression classifier trained on AG News dataset using TF-IDF features.
|
| 5 |
+
|
| 6 |
+
# Dataset
|
| 7 |
+
- ag_news from Hugging Face
|
| 8 |
+
|
| 9 |
+
# Training
|
| 10 |
+
- TF-IDF (5000 features)
|
| 11 |
+
- Logistic Regression
|
| 12 |
+
|
| 13 |
+
# Evaluation
|
| 14 |
+
- Accuracy: ~0.9
|
| 15 |
+
|
| 16 |
+
# Usage
|
| 17 |
+
Load model with joblib and vectorize input text before prediction.
|