Commit From AutoTrain
Browse files- .gitattributes +2 -0
- README.md +45 -0
- config.json +1 -0
- model.joblib +3 -0
.gitattributes
CHANGED
@@ -29,3 +29,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
29 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
30 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
31 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
29 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
30 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
31 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.tar.gz 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 |
+
- inayet/autotrain-data-price-prediction
|
9 |
+
co2_eq_emissions:
|
10 |
+
emissions: 2.062998493126725
|
11 |
+
---
|
12 |
+
|
13 |
+
# Model Trained Using AutoTrain
|
14 |
+
|
15 |
+
- Problem type: Single Column Regression
|
16 |
+
- Model ID: 1331950900
|
17 |
+
- CO2 Emissions (in grams): 2.0630
|
18 |
+
|
19 |
+
## Validation Metrics
|
20 |
+
|
21 |
+
- Loss: 246.452
|
22 |
+
- R2: -0.063
|
23 |
+
- MSE: 60738.433
|
24 |
+
- MAE: 112.766
|
25 |
+
- RMSLE: 0.419
|
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 @@
|
|
|
|
|
1 |
+
{"features": ["Year", "Autoglass", "Make", "Model", "Numberofdoors", "Carfeatures"], "targets": ["target"], "model_type": "extra_trees", "target_mapping": {}}
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:667d124e3cd9eef29e8152365a7a7f301af889446947dc3e35b66449910451c8
|
3 |
+
size 4647205
|