maitelizarraga commited on
Commit
5af20a4
·
verified ·
1 Parent(s): 93a80e6

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +50 -0
  2. model.joblib +3 -0
  3. target_encoders.joblib +3 -0
  4. training_params.json +1 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - tabular
6
+ - regression
7
+ - tabular-regression
8
+ datasets:
9
+ - rea-ridge/autotrain-data
10
+ ---
11
+
12
+ # Model Trained Using AutoTrain
13
+
14
+ - Problem type: Tabular regression
15
+
16
+ ## Validation Metrics
17
+
18
+ - r2: 0.19049946745813506
19
+ - mse: 2090173568.9542394
20
+ - mae: 38517.69777526885
21
+ - rmse: 45718.41608098688
22
+ - rmsle: 0.22010094141328534
23
+ - loss: 45718.41608098688
24
+
25
+ ## Best Params
26
+
27
+ - alpha: 0.0007335286293009105
28
+ - fit_intercept: True
29
+ - max_iter: 9736
30
+
31
+ ## Usage
32
+
33
+ ```python
34
+ import json
35
+ import joblib
36
+ import pandas as pd
37
+
38
+ model = joblib.load('model.joblib')
39
+ config = json.load(open('config.json'))
40
+
41
+ features = config['features']
42
+
43
+ # data = pd.read_csv("data.csv")
44
+ data = data[features]
45
+
46
+ predictions = model.predict(data) # or model.predict_proba(data)
47
+
48
+ # predictions can be converted to original labels using label_encoders.pkl
49
+
50
+ ```
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fab4e352b6d0c0b2d51ffd408cd48e294176e30c4a81ecf136625a6b1095712
3
+ size 6618
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-ridge/autotrain-data", "model": "ridge", "username": "maitelizarraga", "seed": 42, "train_split": "train", "valid_split": "validation", "project_name": "rea-ridge", "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"}