Upload trained IMDB sentiment MLP artifacts
Browse files- README.md +1 -1
- metrics.json +17 -15
- model.joblib +2 -2
- vectorizer.joblib +1 -1
README.md
CHANGED
|
@@ -19,7 +19,7 @@ It uses a TF-IDF text representation followed by a small `scikit-learn` MLP neur
|
|
| 19 |
|
| 20 |
## Metrics
|
| 21 |
|
| 22 |
-
- Accuracy:
|
| 23 |
- Train samples: 400
|
| 24 |
- Test samples: 100
|
| 25 |
- Dataset: `imdb_top_500.csv`
|
|
|
|
| 19 |
|
| 20 |
## Metrics
|
| 21 |
|
| 22 |
+
- Accuracy: 82.00%
|
| 23 |
- Train samples: 400
|
| 24 |
- Test samples: 100
|
| 25 |
- Dataset: `imdb_top_500.csv`
|
metrics.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"repo_id": "ceilf6/imdb-sentiment-mlp",
|
| 3 |
-
"generated_at": "2026-05-15T11:
|
| 4 |
"dataset": "data/imdb_top_500.csv",
|
| 5 |
"train_size": 400,
|
| 6 |
"test_size": 100,
|
| 7 |
-
"accuracy": 0.
|
| 8 |
"model": {
|
| 9 |
"feature_extractor": "TfidfVectorizer",
|
| 10 |
"classifier": "MLPClassifier",
|
|
@@ -13,6 +13,8 @@
|
|
| 13 |
32
|
| 14 |
],
|
| 15 |
"activation": "relu",
|
|
|
|
|
|
|
| 16 |
"max_features": 5000,
|
| 17 |
"ngram_range": [
|
| 18 |
1,
|
|
@@ -22,28 +24,28 @@
|
|
| 22 |
},
|
| 23 |
"classification_report": {
|
| 24 |
"negative": {
|
| 25 |
-
"precision": 0.
|
| 26 |
-
"recall": 0.
|
| 27 |
-
"f1-score": 0.
|
| 28 |
"support": 50.0
|
| 29 |
},
|
| 30 |
"positive": {
|
| 31 |
-
"precision": 0.
|
| 32 |
-
"recall": 0.
|
| 33 |
-
"f1-score": 0.
|
| 34 |
"support": 50.0
|
| 35 |
},
|
| 36 |
-
"accuracy": 0.
|
| 37 |
"macro avg": {
|
| 38 |
-
"precision": 0.
|
| 39 |
-
"recall": 0.
|
| 40 |
-
"f1-score": 0.
|
| 41 |
"support": 100.0
|
| 42 |
},
|
| 43 |
"weighted avg": {
|
| 44 |
-
"precision": 0.
|
| 45 |
-
"recall": 0.
|
| 46 |
-
"f1-score": 0.
|
| 47 |
"support": 100.0
|
| 48 |
}
|
| 49 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"repo_id": "ceilf6/imdb-sentiment-mlp",
|
| 3 |
+
"generated_at": "2026-05-15T11:25:06.574314+00:00",
|
| 4 |
"dataset": "data/imdb_top_500.csv",
|
| 5 |
"train_size": 400,
|
| 6 |
"test_size": 100,
|
| 7 |
+
"accuracy": 0.82,
|
| 8 |
"model": {
|
| 9 |
"feature_extractor": "TfidfVectorizer",
|
| 10 |
"classifier": "MLPClassifier",
|
|
|
|
| 13 |
32
|
| 14 |
],
|
| 15 |
"activation": "relu",
|
| 16 |
+
"solver": "lbfgs",
|
| 17 |
+
"alpha": 0.001,
|
| 18 |
"max_features": 5000,
|
| 19 |
"ngram_range": [
|
| 20 |
1,
|
|
|
|
| 24 |
},
|
| 25 |
"classification_report": {
|
| 26 |
"negative": {
|
| 27 |
+
"precision": 0.8333333333333334,
|
| 28 |
+
"recall": 0.8,
|
| 29 |
+
"f1-score": 0.8163265306122449,
|
| 30 |
"support": 50.0
|
| 31 |
},
|
| 32 |
"positive": {
|
| 33 |
+
"precision": 0.8076923076923077,
|
| 34 |
+
"recall": 0.84,
|
| 35 |
+
"f1-score": 0.8235294117647058,
|
| 36 |
"support": 50.0
|
| 37 |
},
|
| 38 |
+
"accuracy": 0.82,
|
| 39 |
"macro avg": {
|
| 40 |
+
"precision": 0.8205128205128205,
|
| 41 |
+
"recall": 0.8200000000000001,
|
| 42 |
+
"f1-score": 0.8199279711884754,
|
| 43 |
"support": 100.0
|
| 44 |
},
|
| 45 |
"weighted avg": {
|
| 46 |
+
"precision": 0.8205128205128206,
|
| 47 |
+
"recall": 0.82,
|
| 48 |
+
"f1-score": 0.8199279711884754,
|
| 49 |
"support": 100.0
|
| 50 |
}
|
| 51 |
}
|
model.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5cfdeef7b56e573ce5f43a1006fa85aef476a69a08ce22b0c5e2a2049ea5e720
|
| 3 |
+
size 5352563
|
vectorizer.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 190443
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd6163e5b2c4f76ed06ca3b63ce6e605507335de12600948b0e2194d0be46d70
|
| 3 |
size 190443
|