will-clarke commited on
Commit
0ad0f80
1 Parent(s): 9c9bcfa

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +56 -0
  2. model.joblib +3 -0
  3. target_encoders.joblib +3 -0
  4. training_params.json +1 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - tabular
6
+ - regression
7
+ - tabular-regression
8
+ datasets:
9
+ - will-clarke/autotrain-data-km3p-5cou-dikk
10
+ ---
11
+
12
+ # Model Trained Using AutoTrain
13
+
14
+ - Problem type: Tabular regression
15
+
16
+ ## Validation Metrics
17
+
18
+ - r2: -0.008598428559009497
19
+ - mse: 598.976166598342
20
+ - mae: 9.062458591043514
21
+ - rmse: 24.473989593001424
22
+ - rmsle: 1.2592486785782957
23
+ - loss: 24.473989593001424
24
+
25
+ ## Best Params
26
+
27
+ - learning_rate: 0.05243299592316927
28
+ - reg_lambda: 6.717966298706072e-08
29
+ - reg_alpha: 1.6032915106085746e-08
30
+ - subsample: 0.5114836334096384
31
+ - colsample_bytree: 0.42603286105240046
32
+ - max_depth: 1
33
+ - early_stopping_rounds: 455
34
+ - n_estimators: 20000
35
+ - eval_metric: rmse
36
+
37
+ ## Usage
38
+
39
+ ```python
40
+ import json
41
+ import joblib
42
+ import pandas as pd
43
+
44
+ model = joblib.load('model.joblib')
45
+ config = json.load(open('config.json'))
46
+
47
+ features = config['features']
48
+
49
+ # data = pd.read_csv("data.csv")
50
+ data = data[features]
51
+
52
+ predictions = model.predict(data) # or model.predict_proba(data)
53
+
54
+ # predictions can be converted to original labels using label_encoders.pkl
55
+
56
+ ```
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c74bdff8699329d7f796ba370c3ea6597612bb6859984ec5d84c43977967a9f
3
+ size 1254219
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": "will-clarke/autotrain-data-km3p-5cou-dikk", "model": "xgboost", "username": "will-clarke", "seed": 42, "train_split": "train", "valid_split": "validation", "project_name": "/tmp/model", "push_to_hub": true, "id_column": "autotrain_id", "target_columns": ["autotrain_label"], "repo_id": "will-clarke/km3p-5cou-dikk-0", "categorical_columns": null, "numerical_columns": null, "task": "regression", "num_trials": 100, "time_limit": 3600, "categorical_imputer": null, "numerical_imputer": "mean", "numeric_scaler": "standard"}