maitelizarraga
commited on
Commit
•
6d3ad93
1
Parent(s):
0c48e0d
Upload folder using huggingface_hub
Browse files- README.md +52 -0
- model.joblib +3 -0
- target_encoders.joblib +3 -0
- training_params.json +1 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- tabular
|
6 |
+
- regression
|
7 |
+
- tabular-regression
|
8 |
+
datasets:
|
9 |
+
- rea-svm/autotrain-data
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Trained Using AutoTrain
|
13 |
+
|
14 |
+
- Problem type: Tabular regression
|
15 |
+
|
16 |
+
## Validation Metrics
|
17 |
+
|
18 |
+
- r2: -13.723120886842382
|
19 |
+
- mse: 38015883737.055504
|
20 |
+
- mae: 174448.73032973852
|
21 |
+
- rmse: 194976.62356563544
|
22 |
+
- rmsle: 2.6073960566969823
|
23 |
+
- loss: 194976.62356563544
|
24 |
+
|
25 |
+
## Best Params
|
26 |
+
|
27 |
+
- C: 60.27729201980406
|
28 |
+
- fit_intercept: False
|
29 |
+
- loss: epsilon_insensitive
|
30 |
+
- epsilon: 0.00020827552565594136
|
31 |
+
- max_iter: 9903
|
32 |
+
|
33 |
+
## Usage
|
34 |
+
|
35 |
+
```python
|
36 |
+
import json
|
37 |
+
import joblib
|
38 |
+
import pandas as pd
|
39 |
+
|
40 |
+
model = joblib.load('model.joblib')
|
41 |
+
config = json.load(open('config.json'))
|
42 |
+
|
43 |
+
features = config['features']
|
44 |
+
|
45 |
+
# data = pd.read_csv("data.csv")
|
46 |
+
data = data[features]
|
47 |
+
|
48 |
+
predictions = model.predict(data) # or model.predict_proba(data)
|
49 |
+
|
50 |
+
# predictions can be converted to original labels using label_encoders.pkl
|
51 |
+
|
52 |
+
```
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec1c5d57a0d80e644473deced88073be701ca1bd24549356cef13f0122cfd175
|
3 |
+
size 6601
|
target_encoders.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:926248e52d1fa532c317e37da24ed652ae64110f8219cb5e061668bd3091f048
|
3 |
+
size 5
|
training_params.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"data_path": "rea-svm/autotrain-data", "model": "svm", "username": "maitelizarraga", "seed": 42, "train_split": "train", "valid_split": "validation", "project_name": "rea-svm", "push_to_hub": true, "id_column": "autotrain_id", "target_columns": ["autotrain_label"], "categorical_columns": null, "numerical_columns": null, "task": "regression", "num_trials": 10, "time_limit": 600, "categorical_imputer": "most_frequent", "numerical_imputer": "median", "numeric_scaler": "robust"}
|