system HF staff commited on
Commit
b84f7a8
1 Parent(s): 312c07f

Commit From AutoTrain

Browse files
Files changed (4) hide show
  1. .gitattributes +3 -0
  2. README.md +45 -0
  3. config.json +3 -0
  4. model.joblib +3 -0
.gitattributes CHANGED
@@ -30,3 +30,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
  *.zip filter=lfs diff=lfs merge=lfs -text
31
  *.zst filter=lfs diff=lfs merge=lfs -text
32
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
30
  *.zip filter=lfs diff=lfs merge=lfs -text
31
  *.zst filter=lfs diff=lfs merge=lfs -text
32
  *tfevents* filter=lfs diff=lfs merge=lfs -text
33
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
34
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
35
+ *.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - tabular
5
+ - regression
6
+ - tabular-regression
7
+ datasets:
8
+ - jwan2021/autotrain-data-us-housing-prices
9
+ co2_eq_emissions:
10
+ emissions: 0.1288210176412382
11
+ ---
12
+
13
+ # Model Trained Using AutoTrain
14
+
15
+ - Problem type: Single Column Regression
16
+ - Model ID: 1771761514
17
+ - CO2 Emissions (in grams): 0.1288
18
+
19
+ ## Validation Metrics
20
+
21
+ - Loss: 100595.980
22
+ - R2: 0.922
23
+ - MSE: 10119551129.473
24
+ - MAE: 81601.198
25
+ - RMSLE: 0.101
26
+
27
+ ## Usage
28
+
29
+ ```python
30
+ import json
31
+ import joblib
32
+ import pandas as pd
33
+
34
+ model = joblib.load('model.joblib')
35
+ config = json.load(open('config.json'))
36
+
37
+ features = config['features']
38
+
39
+ # data = pd.read_csv("data.csv")
40
+ data = data[features]
41
+ data.columns = ["feat_" + str(col) for col in data.columns]
42
+
43
+ predictions = model.predict(data) # or model.predict_proba(data)
44
+
45
+ ```
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9479c041a28c699c901eaf479526ecf40dc51971e146cd9a152e84910accc305
3
+ size 214
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d890e9d989e1747b0202953100a28c1eb792330fef8a1368a37ec528c5f5b7db
3
+ size 158200