ruanmelio commited on
Commit
cb01e29
1 Parent(s): 9a7b5d8

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +85 -0
  2. config.json +66 -0
  3. model.joblib +3 -0
  4. scaler.joblib +3 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sklearn
3
+ tags:
4
+ - sklearn
5
+ - tabular-regression
6
+ ---
7
+
8
+ # Model description
9
+
10
+ This is a linear regression model trained on California housing dataset. This model could be used to predict median price of a house in California, given certain features. 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
+ | alpha | 0.01 |
28
+ | copy_X | True |
29
+ | fit_intercept | True |
30
+ | max_iter | 1000 |
31
+ | positive | False |
32
+ | precompute | False |
33
+ | random_state | 42 |
34
+ | selection | cyclic |
35
+ | tol | 0.0001 |
36
+ | warm_start | False |
37
+
38
+ </details>
39
+
40
+ ### Model Plot
41
+
42
+ <style>#sk-container-id-2 {color: black;}#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>Lasso(alpha=0.01, 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">Lasso</label><div class="sk-toggleable__content"><pre>Lasso(alpha=0.01, random_state=42)</pre></div></div></div></div></div>
43
+
44
+ ## Evaluation Results
45
+
46
+ [More Information Needed]
47
+
48
+ # How to Get Started with the Model
49
+
50
+
51
+ ```python
52
+ import joblib
53
+ from huggingface_hub import hf_hub_download
54
+
55
+ # Feature scaler
56
+ hf_hub_download("MelioAI/california-housing", "scaler.joblib")
57
+ scaler = joblib.load("scaler.joblib")
58
+
59
+ # Classifier model
60
+ hf_hub_download("MelioAI/california-housing", "model.joblib")
61
+ model = joblib.load("model.joblib")
62
+ ```
63
+
64
+
65
+ # Model Card Authors
66
+
67
+ MelioAI, ruanmelio
68
+
69
+ # Model Card Contact
70
+
71
+ You can contact the model card authors through following channels:
72
+ [More Information Needed]
73
+
74
+ # Citation
75
+
76
+ Below you can find information related to citation.
77
+
78
+ **BibTeX:**
79
+ ```
80
+ [More Information Needed]
81
+ ```
82
+
83
+ # Intended uses & limitations
84
+
85
+ This model is made for the purposes of showing how to use Highwind only.
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sklearn": {
3
+ "columns": [
4
+ "MedInc",
5
+ "HouseAge",
6
+ "AveRooms",
7
+ "AveBedrms",
8
+ "Population",
9
+ "AveOccup",
10
+ "Latitude",
11
+ "Longitude"
12
+ ],
13
+ "environment": [
14
+ "scikit-learn==1.3.0",
15
+ "joblib==1.3.2"
16
+ ],
17
+ "example_input": {
18
+ "AveBedrms": [
19
+ 1.0064205457463884,
20
+ 1.041005291005291,
21
+ 0.9851190476190476
22
+ ],
23
+ "AveOccup": [
24
+ 3.691813804173355,
25
+ 1.738095238095238,
26
+ 2.7232142857142856
27
+ ],
28
+ "AveRooms": [
29
+ 5.017656500802568,
30
+ 4.473544973544974,
31
+ 5.645833333333333
32
+ ],
33
+ "HouseAge": [
34
+ 33.0,
35
+ 49.0,
36
+ 4.0
37
+ ],
38
+ "Latitude": [
39
+ 32.71,
40
+ 33.77,
41
+ 34.66
42
+ ],
43
+ "Longitude": [
44
+ -117.03,
45
+ -118.16,
46
+ -120.48
47
+ ],
48
+ "MedInc": [
49
+ 3.2596,
50
+ 3.8125,
51
+ 4.1563
52
+ ],
53
+ "Population": [
54
+ 2300.0,
55
+ 1314.0,
56
+ 915.0
57
+ ]
58
+ },
59
+ "model": {
60
+ "file": "model.joblib"
61
+ },
62
+ "model_format": "pickle",
63
+ "task": "tabular-classification",
64
+ "use_intelex": false
65
+ }
66
+ }
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eb598e602c885159e4bb5cebd28e19094f17ad229c68abe0bd877aa25390b8c
3
+ size 695
scaler.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d9a9433d1e90ca0947c324140f9b1ce700bd7c5f1a4a8323b24497fbb8456b3
3
+ size 1223