gianlab commited on
Commit
74cd68a
1 Parent(s): 784e5fc

pushing files to the repo from the example!

Browse files
Files changed (3) hide show
  1. README.md +135 -0
  2. config.json +95 -0
  3. skops-rsihc7ad.pkl +3 -0
README.md ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: sklearn
4
+ tags:
5
+ - sklearn
6
+ - skops
7
+ - tabular-classification
8
+ model_format: pickle
9
+ model_file: skops-rsihc7ad.pkl
10
+ widget:
11
+ - structuredData:
12
+ Age:
13
+ - 52
14
+ - 52
15
+ - 37
16
+ Annual income from social welfare programs:
17
+ - 0
18
+ - 0
19
+ - 0
20
+ Education:
21
+ - 5
22
+ - 2
23
+ - 3
24
+ Gender:
25
+ - 0
26
+ - 1
27
+ - 1
28
+ I am currently employed at least part-time:
29
+ - 1
30
+ - 1
31
+ - 1
32
+ I have a gap in my resume:
33
+ - 0
34
+ - 0
35
+ - 0
36
+ I have my regular access to the internet:
37
+ - 1
38
+ - 1
39
+ - 1
40
+ I live with my parents:
41
+ - 0
42
+ - 0
43
+ - 0
44
+ I read outside of work and school:
45
+ - 1
46
+ - 1
47
+ - 1
48
+ Income:
49
+ - 7
50
+ - 28
51
+ - 100
52
+ Lack of concentration:
53
+ - 0.0
54
+ - 0.0
55
+ - 0.0
56
+ Tiredness:
57
+ - 0.0
58
+ - 1.0
59
+ - 1.0
60
+ Unemployed:
61
+ - 0
62
+ - 0
63
+ - 0
64
+ ---
65
+
66
+ # Model description
67
+
68
+ The possible classified predictions are: 'No Mental Illness', 'Yes Mental Illness'The predictors are: 'I am currently employed at least part-time', 'Education' , 'I have my regular access to the internet', 'I live with my parents', 'I have a gap in my resume', 'Income', 'Unemployed', 'I read outside of work and school','Annual income from social welfare programs', 'Lack of concentration', 'Tiredness', 'Age', 'Gender'
69
+
70
+ ## Intended uses & limitations
71
+
72
+ This model follows the limitations of the Apache 2.0 license.
73
+
74
+ ## Training Procedure
75
+
76
+ [More Information Needed]
77
+
78
+ ### Hyperparameters
79
+
80
+ <details>
81
+ <summary> Click to expand </summary>
82
+
83
+ | Hyperparameter | Value |
84
+ |----------------------|---------|
85
+ | covariance_estimator | |
86
+ | n_components | |
87
+ | priors | |
88
+ | shrinkage | |
89
+ | solver | svd |
90
+ | store_covariance | False |
91
+ | tol | 0.0001 |
92
+
93
+ </details>
94
+
95
+ ### Model Plot
96
+
97
+ <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>LinearDiscriminantAnalysis()</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">LinearDiscriminantAnalysis</label><div class="sk-toggleable__content"><pre>LinearDiscriminantAnalysis()</pre></div></div></div></div></div>
98
+
99
+ ## Evaluation Results
100
+
101
+ | Metric | Value |
102
+ |----------|----------|
103
+ | accuracy | 0.835821 |
104
+ | f1 score | 0.835821 |
105
+
106
+ ### Model description/Evaluation Results/Classification report
107
+
108
+ | index | precision | recall | f1-score | support |
109
+ |--------------------|-------------|----------|------------|-----------|
110
+ | No Mental Illness | 0.847458 | 0.961538 | 0.900901 | 52 |
111
+ | Yes Mental Illness | 0.75 | 0.4 | 0.521739 | 15 |
112
+ | macro avg | 0.798729 | 0.680769 | 0.71132 | 67 |
113
+ | weighted avg | 0.825639 | 0.835821 | 0.816014 | 67 |
114
+
115
+ # How to Get Started with the Model
116
+
117
+ [More Information Needed]
118
+
119
+ # Model Card Authors
120
+
121
+ gianlab
122
+
123
+ # Model Card Contact
124
+
125
+ You can contact the model card authors through following channels:
126
+ [More Information Needed]
127
+
128
+ # Citation
129
+
130
+ Below you can find information related to citation.
131
+
132
+ **BibTeX:**
133
+ ```
134
+ [More Information Needed]
135
+ ```
config.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sklearn": {
3
+ "columns": [
4
+ "I am currently employed at least part-time",
5
+ "Education",
6
+ "I have my regular access to the internet",
7
+ "I live with my parents",
8
+ "I have a gap in my resume",
9
+ "Income",
10
+ "Unemployed",
11
+ "I read outside of work and school",
12
+ "Annual income from social welfare programs",
13
+ "Lack of concentration",
14
+ "Tiredness",
15
+ "Age",
16
+ "Gender"
17
+ ],
18
+ "environment": [
19
+ "scikit-learn=1.2.2"
20
+ ],
21
+ "example_input": {
22
+ "Age": [
23
+ 52,
24
+ 52,
25
+ 37
26
+ ],
27
+ "Annual income from social welfare programs": [
28
+ 0,
29
+ 0,
30
+ 0
31
+ ],
32
+ "Education": [
33
+ 5,
34
+ 2,
35
+ 3
36
+ ],
37
+ "Gender": [
38
+ 0,
39
+ 1,
40
+ 1
41
+ ],
42
+ "I am currently employed at least part-time": [
43
+ 1,
44
+ 1,
45
+ 1
46
+ ],
47
+ "I have a gap in my resume": [
48
+ 0,
49
+ 0,
50
+ 0
51
+ ],
52
+ "I have my regular access to the internet": [
53
+ 1,
54
+ 1,
55
+ 1
56
+ ],
57
+ "I live with my parents": [
58
+ 0,
59
+ 0,
60
+ 0
61
+ ],
62
+ "I read outside of work and school": [
63
+ 1,
64
+ 1,
65
+ 1
66
+ ],
67
+ "Income": [
68
+ 7,
69
+ 28,
70
+ 100
71
+ ],
72
+ "Lack of concentration": [
73
+ 0.0,
74
+ 0.0,
75
+ 0.0
76
+ ],
77
+ "Tiredness": [
78
+ 0.0,
79
+ 1.0,
80
+ 1.0
81
+ ],
82
+ "Unemployed": [
83
+ 0,
84
+ 0,
85
+ 0
86
+ ]
87
+ },
88
+ "model": {
89
+ "file": "skops-rsihc7ad.pkl"
90
+ },
91
+ "model_format": "pickle",
92
+ "task": "tabular-classification",
93
+ "use_intelex": false
94
+ }
95
+ }
skops-rsihc7ad.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d405c3d8dae4b4712e5bb995578212a5495413e67907d81f353abb46585eb678
3
+ size 1851