ceilf6 commited on
Commit
4aa3141
·
verified ·
1 Parent(s): 99481b5

Upload trained IMDB sentiment MLP artifacts

Browse files
Files changed (4) hide show
  1. README.md +1 -1
  2. metrics.json +17 -15
  3. model.joblib +2 -2
  4. 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: 77.00%
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:23:07.005266+00:00",
4
  "dataset": "data/imdb_top_500.csv",
5
  "train_size": 400,
6
  "test_size": 100,
7
- "accuracy": 0.77,
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.7014925373134329,
26
- "recall": 0.94,
27
- "f1-score": 0.8034188034188035,
28
  "support": 50.0
29
  },
30
  "positive": {
31
- "precision": 0.9090909090909091,
32
- "recall": 0.6,
33
- "f1-score": 0.7228915662650602,
34
  "support": 50.0
35
  },
36
- "accuracy": 0.77,
37
  "macro avg": {
38
- "precision": 0.805291723202171,
39
- "recall": 0.77,
40
- "f1-score": 0.7631551848419318,
41
  "support": 100.0
42
  },
43
  "weighted avg": {
44
- "precision": 0.805291723202171,
45
- "recall": 0.77,
46
- "f1-score": 0.7631551848419318,
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:de2e70e3967580daed24d3de0f5c90efec97cfda949155aac0ded3fc419d3ebd
3
- size 7931284
 
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:3b8a5dcea38f5c07c3a3cbb5f4726b001e3f2eff24b7f85fd04f95c4f0618fb2
3
  size 190443
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd6163e5b2c4f76ed06ca3b63ce6e605507335de12600948b0e2194d0be46d70
3
  size 190443