briangilbert commited on
Commit
3c61421
·
verified ·
1 Parent(s): bccf38a

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +90 -3
  2. config.json +42 -0
  3. model.joblib +3 -0
  4. scaler.joblib +3 -0
README.md CHANGED
@@ -1,3 +1,90 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sklearn
3
+ tags:
4
+ - sklearn
5
+ - tabular-classification
6
+ ---
7
+
8
+ # Model description
9
+
10
+ This is a Logistic Regression model trained on iris dataset. This model could be used to predict type of iris flower, given certain dimensions. This model is very basic and should only be used as an example of how to use Highwind.
11
+
12
+ ## Intended uses & limitations
13
+
14
+ This model is made for the purposes of showing how to use Highwind only.
15
+
16
+ ## Training Procedure
17
+
18
+ [More Information Needed]
19
+
20
+ ### Hyperparameters
21
+
22
+ <details>
23
+ <summary> Click to expand </summary>
24
+
25
+ | Hyperparameter | Value |
26
+ |-------------------|---------|
27
+ | C | 1 |
28
+ | class_weight | |
29
+ | dual | False |
30
+ | fit_intercept | True |
31
+ | intercept_scaling | 1 |
32
+ | l1_ratio | |
33
+ | max_iter | 100 |
34
+ | multi_class | auto |
35
+ | n_jobs | |
36
+ | penalty | l2 |
37
+ | random_state | 42 |
38
+ | solver | lbfgs |
39
+ | tol | 0.0001 |
40
+ | verbose | 0 |
41
+ | warm_start | False |
42
+
43
+ </details>
44
+
45
+ ### Model Plot
46
+
47
+ <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>LogisticRegression(C=1, random_state=42)</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">LogisticRegression</label><div class="sk-toggleable__content"><pre>LogisticRegression(C=1, random_state=42)</pre></div></div></div></div></div>
48
+
49
+ ## Evaluation Results
50
+
51
+ [More Information Needed]
52
+
53
+ # How to Get Started with the Model
54
+
55
+
56
+ ```python
57
+ import joblib
58
+ from huggingface_hub import hf_hub_download
59
+
60
+ # Feature scaler
61
+ hf_hub_download("MelioAI/iris-classifier", "scaler.joblib")
62
+ scaler = joblib.load("scaler.joblib")
63
+
64
+ # Classifier model
65
+ hf_hub_download("MelioAI/iris-classifier", "model.joblib")
66
+ model = joblib.load("model.joblib")
67
+ ```
68
+
69
+
70
+ # Model Card Authors
71
+
72
+ MelioAI, ruanmelio
73
+
74
+ # Model Card Contact
75
+
76
+ You can contact the model card authors through following channels:
77
+ [More Information Needed]
78
+
79
+ # Citation
80
+
81
+ Below you can find information related to citation.
82
+
83
+ **BibTeX:**
84
+ ```
85
+ [More Information Needed]
86
+ ```
87
+
88
+ # Intended uses & limitations
89
+
90
+ This model is made for the purposes of showing how to use Highwind only.
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sklearn": {
3
+ "columns": [
4
+ "sepal length (cm)",
5
+ "sepal width (cm)",
6
+ "petal length (cm)",
7
+ "petal width (cm)"
8
+ ],
9
+ "environment": [
10
+ "scikit-learn==1.2.2",
11
+ "joblib==1.4.2"
12
+ ],
13
+ "example_input": {
14
+ "petal length (cm)": [
15
+ 1.0,
16
+ 1.5,
17
+ 4.4
18
+ ],
19
+ "petal width (cm)": [
20
+ 0.2,
21
+ 0.4,
22
+ 1.4
23
+ ],
24
+ "sepal length (cm)": [
25
+ 4.6,
26
+ 5.7,
27
+ 6.7
28
+ ],
29
+ "sepal width (cm)": [
30
+ 3.6,
31
+ 4.4,
32
+ 3.1
33
+ ]
34
+ },
35
+ "model": {
36
+ "file": "model.joblib"
37
+ },
38
+ "model_format": "pickle",
39
+ "task": "tabular-classification",
40
+ "use_intelex": false
41
+ }
42
+ }
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:083496c1afbbd1d106140f78aa315839c1b44b13cb970bb1248a7e8aafffe77e
3
+ size 975
scaler.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53f5eb1a1a71b9de259a040f7675c02519fc7abf3716ece34243edc8d6f09d10
3
+ size 1095