sulpha commited on
Commit
9dab14c
1 Parent(s): 17ac56e

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +234 -0
  2. config.json +221 -0
  3. confusion_matrix.png +0 -0
  4. model.pkl +3 -0
README.md ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sklearn
3
+ tags:
4
+ - sklearn
5
+ - skops
6
+ - tabular-classification
7
+ model_format: pickle
8
+ model_file: model.pkl
9
+ widget:
10
+ structuredData:
11
+ Age at enrollment:
12
+ - 20
13
+ - 19
14
+ - 19
15
+ Application mode:
16
+ - 8
17
+ - 6
18
+ - 1
19
+ Application order:
20
+ - 5
21
+ - 1
22
+ - 5
23
+ Course:
24
+ - 2
25
+ - 11
26
+ - 5
27
+ Curricular units 1st sem (approved):
28
+ - 0
29
+ - 6
30
+ - 0
31
+ Curricular units 1st sem (credited):
32
+ - 0
33
+ - 0
34
+ - 0
35
+ Curricular units 1st sem (enrolled):
36
+ - 0
37
+ - 6
38
+ - 6
39
+ Curricular units 1st sem (evaluations):
40
+ - 0
41
+ - 6
42
+ - 0
43
+ Curricular units 1st sem (grade):
44
+ - 0.0
45
+ - 14.0
46
+ - 0.0
47
+ Curricular units 1st sem (without evaluations):
48
+ - 0
49
+ - 0
50
+ - 0
51
+ Curricular units 2nd sem (approved):
52
+ - 0
53
+ - 6
54
+ - 0
55
+ Curricular units 2nd sem (credited):
56
+ - 0
57
+ - 0
58
+ - 0
59
+ Curricular units 2nd sem (enrolled):
60
+ - 0
61
+ - 6
62
+ - 6
63
+ Curricular units 2nd sem (evaluations):
64
+ - 0
65
+ - 6
66
+ - 0
67
+ Curricular units 2nd sem (grade):
68
+ - 0.0
69
+ - 13.666666666666666
70
+ - 0.0
71
+ Curricular units 2nd sem (without evaluations):
72
+ - 0
73
+ - 0
74
+ - 0
75
+ Daytime/evening attendance:
76
+ - 1
77
+ - 1
78
+ - 1
79
+ Debtor:
80
+ - 0
81
+ - 0
82
+ - 0
83
+ Displaced:
84
+ - 1
85
+ - 1
86
+ - 1
87
+ Educational special needs:
88
+ - 0
89
+ - 0
90
+ - 0
91
+ Father's occupation:
92
+ - 10
93
+ - 4
94
+ - 10
95
+ Father's qualification:
96
+ - 10
97
+ - 3
98
+ - 27
99
+ GDP:
100
+ - 1.74
101
+ - 0.79
102
+ - 1.74
103
+ Gender:
104
+ - 1
105
+ - 1
106
+ - 1
107
+ Inflation rate:
108
+ - 1.4
109
+ - -0.3
110
+ - 1.4
111
+ International:
112
+ - 0
113
+ - 0
114
+ - 0
115
+ Marital status:
116
+ - 1
117
+ - 1
118
+ - 1
119
+ Mother's occupation:
120
+ - 6
121
+ - 4
122
+ - 10
123
+ Mother's qualification:
124
+ - 13
125
+ - 1
126
+ - 22
127
+ Nacionality:
128
+ - 1
129
+ - 1
130
+ - 1
131
+ Previous qualification:
132
+ - 1
133
+ - 1
134
+ - 1
135
+ Scholarship holder:
136
+ - 0
137
+ - 0
138
+ - 0
139
+ Tuition fees up to date:
140
+ - 1
141
+ - 0
142
+ - 0
143
+ Unemployment rate:
144
+ - 10.8
145
+ - 13.9
146
+ - 10.8
147
+ ---
148
+
149
+ # Model description
150
+
151
+ [More Information Needed]
152
+
153
+ ## Intended uses & limitations
154
+
155
+ [More Information Needed]
156
+
157
+ ## Training Procedure
158
+
159
+ [More Information Needed]
160
+
161
+ ### Hyperparameters
162
+
163
+ <details>
164
+ <summary> Click to expand </summary>
165
+
166
+ | Hyperparameter | Value |
167
+ |--------------------------|---------|
168
+ | bootstrap | True |
169
+ | ccp_alpha | 0.0 |
170
+ | class_weight | |
171
+ | criterion | gini |
172
+ | max_depth | |
173
+ | max_features | sqrt |
174
+ | max_leaf_nodes | |
175
+ | max_samples | |
176
+ | min_impurity_decrease | 0.0 |
177
+ | min_samples_leaf | 1 |
178
+ | min_samples_split | 2 |
179
+ | min_weight_fraction_leaf | 0.0 |
180
+ | n_estimators | 100 |
181
+ | n_jobs | |
182
+ | oob_score | False |
183
+ | random_state | |
184
+ | verbose | 0 |
185
+ | warm_start | False |
186
+
187
+ </details>
188
+
189
+ ### Model Plot
190
+
191
+ <style>#sk-container-id-2 {color: black;background-color: white;}#sk-container-id-2 pre{padding: 0;}#sk-container-id-2 div.sk-toggleable {background-color: white;}#sk-container-id-2 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-2 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-2 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-2 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-2 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-2 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-2 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-2 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-container-id-2 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-2 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-2 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-2 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-2 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-2 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-2 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-2 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-2 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-2 div.sk-item {position: relative;z-index: 1;}#sk-container-id-2 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-2 div.sk-item::before, #sk-container-id-2 div.sk-parallel-item::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-2 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-2 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-2 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-2 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-2 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-2 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-2 div.sk-label-container {text-align: center;}#sk-container-id-2 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-2 div.sk-text-repr-fallback {display: none;}</style><div id="sk-container-id-2" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>RandomForestClassifier()</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-2" type="checkbox" checked><label for="sk-estimator-id-2" class="sk-toggleable__label sk-toggleable__label-arrow">RandomForestClassifier</label><div class="sk-toggleable__content"><pre>RandomForestClassifier()</pre></div></div></div></div></div>
192
+
193
+ ## Evaluation Results
194
+
195
+ | Metric | Value |
196
+ |----------|---------|
197
+ | accuracy | 0.9041 |
198
+ | roc_auc | 0.9157 |
199
+
200
+ # How to Get Started with the Model
201
+
202
+ [More Information Needed]
203
+
204
+ # Model Card Authors
205
+
206
+ This model card is written by following authors:
207
+
208
+ [More Information Needed]
209
+
210
+ # Model Card Contact
211
+
212
+ You can contact the model card authors through following channels:
213
+ [More Information Needed]
214
+
215
+ # Citation
216
+
217
+ Below you can find information related to citation.
218
+
219
+ **BibTeX:**
220
+ ```
221
+ [More Information Needed]
222
+ ```
223
+
224
+ # model_description
225
+
226
+ This is a RandomForest Classifier trained on student academic performance data.
227
+
228
+ # limitations
229
+
230
+ This model is trained for educational purposes.
231
+
232
+ # Confusion Matrix
233
+
234
+ ![Confusion Matrix](confusion_matrix.png)
config.json ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sklearn": {
3
+ "columns": [
4
+ "Marital status",
5
+ "Application mode",
6
+ "Application order",
7
+ "Course",
8
+ "Daytime/evening attendance",
9
+ "Previous qualification",
10
+ "Nacionality",
11
+ "Mother's qualification",
12
+ "Father's qualification",
13
+ "Mother's occupation",
14
+ "Father's occupation",
15
+ "Displaced",
16
+ "Educational special needs",
17
+ "Debtor",
18
+ "Tuition fees up to date",
19
+ "Gender",
20
+ "Scholarship holder",
21
+ "Age at enrollment",
22
+ "International",
23
+ "Curricular units 1st sem (credited)",
24
+ "Curricular units 1st sem (enrolled)",
25
+ "Curricular units 1st sem (evaluations)",
26
+ "Curricular units 1st sem (approved)",
27
+ "Curricular units 1st sem (grade)",
28
+ "Curricular units 1st sem (without evaluations)",
29
+ "Curricular units 2nd sem (credited)",
30
+ "Curricular units 2nd sem (enrolled)",
31
+ "Curricular units 2nd sem (evaluations)",
32
+ "Curricular units 2nd sem (approved)",
33
+ "Curricular units 2nd sem (grade)",
34
+ "Curricular units 2nd sem (without evaluations)",
35
+ "Unemployment rate",
36
+ "Inflation rate",
37
+ "GDP"
38
+ ],
39
+ "environment": [
40
+ "scikit-learn"
41
+ ],
42
+ "example_input": {
43
+ "Age at enrollment": [
44
+ 20,
45
+ 19,
46
+ 19
47
+ ],
48
+ "Application mode": [
49
+ 8,
50
+ 6,
51
+ 1
52
+ ],
53
+ "Application order": [
54
+ 5,
55
+ 1,
56
+ 5
57
+ ],
58
+ "Course": [
59
+ 2,
60
+ 11,
61
+ 5
62
+ ],
63
+ "Curricular units 1st sem (approved)": [
64
+ 0,
65
+ 6,
66
+ 0
67
+ ],
68
+ "Curricular units 1st sem (credited)": [
69
+ 0,
70
+ 0,
71
+ 0
72
+ ],
73
+ "Curricular units 1st sem (enrolled)": [
74
+ 0,
75
+ 6,
76
+ 6
77
+ ],
78
+ "Curricular units 1st sem (evaluations)": [
79
+ 0,
80
+ 6,
81
+ 0
82
+ ],
83
+ "Curricular units 1st sem (grade)": [
84
+ 0.0,
85
+ 14.0,
86
+ 0.0
87
+ ],
88
+ "Curricular units 1st sem (without evaluations)": [
89
+ 0,
90
+ 0,
91
+ 0
92
+ ],
93
+ "Curricular units 2nd sem (approved)": [
94
+ 0,
95
+ 6,
96
+ 0
97
+ ],
98
+ "Curricular units 2nd sem (credited)": [
99
+ 0,
100
+ 0,
101
+ 0
102
+ ],
103
+ "Curricular units 2nd sem (enrolled)": [
104
+ 0,
105
+ 6,
106
+ 6
107
+ ],
108
+ "Curricular units 2nd sem (evaluations)": [
109
+ 0,
110
+ 6,
111
+ 0
112
+ ],
113
+ "Curricular units 2nd sem (grade)": [
114
+ 0.0,
115
+ 13.666666666666666,
116
+ 0.0
117
+ ],
118
+ "Curricular units 2nd sem (without evaluations)": [
119
+ 0,
120
+ 0,
121
+ 0
122
+ ],
123
+ "Daytime/evening attendance": [
124
+ 1,
125
+ 1,
126
+ 1
127
+ ],
128
+ "Debtor": [
129
+ 0,
130
+ 0,
131
+ 0
132
+ ],
133
+ "Displaced": [
134
+ 1,
135
+ 1,
136
+ 1
137
+ ],
138
+ "Educational special needs": [
139
+ 0,
140
+ 0,
141
+ 0
142
+ ],
143
+ "Father's occupation": [
144
+ 10,
145
+ 4,
146
+ 10
147
+ ],
148
+ "Father's qualification": [
149
+ 10,
150
+ 3,
151
+ 27
152
+ ],
153
+ "GDP": [
154
+ 1.74,
155
+ 0.79,
156
+ 1.74
157
+ ],
158
+ "Gender": [
159
+ 1,
160
+ 1,
161
+ 1
162
+ ],
163
+ "Inflation rate": [
164
+ 1.4,
165
+ -0.3,
166
+ 1.4
167
+ ],
168
+ "International": [
169
+ 0,
170
+ 0,
171
+ 0
172
+ ],
173
+ "Marital status": [
174
+ 1,
175
+ 1,
176
+ 1
177
+ ],
178
+ "Mother's occupation": [
179
+ 6,
180
+ 4,
181
+ 10
182
+ ],
183
+ "Mother's qualification": [
184
+ 13,
185
+ 1,
186
+ 22
187
+ ],
188
+ "Nacionality": [
189
+ 1,
190
+ 1,
191
+ 1
192
+ ],
193
+ "Previous qualification": [
194
+ 1,
195
+ 1,
196
+ 1
197
+ ],
198
+ "Scholarship holder": [
199
+ 0,
200
+ 0,
201
+ 0
202
+ ],
203
+ "Tuition fees up to date": [
204
+ 1,
205
+ 0,
206
+ 0
207
+ ],
208
+ "Unemployment rate": [
209
+ 10.8,
210
+ 13.9,
211
+ 10.8
212
+ ]
213
+ },
214
+ "model": {
215
+ "file": "model.pkl"
216
+ },
217
+ "model_format": "pickle",
218
+ "task": "tabular-classification",
219
+ "use_intelex": false
220
+ }
221
+ }
confusion_matrix.png ADDED
model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c44d5903aef2ec6fbf024188543c20aec62641a8f13ff85bd01206b3449355bf
3
+ size 6937033