system HF staff commited on
Commit
2db82b8
1 Parent(s): 5329273

Commit From AutoTrain

Browse files
Files changed (4) hide show
  1. .gitattributes +3 -0
  2. README.md +45 -0
  3. config.json +1 -0
  4. model.joblib +3 -0
.gitattributes CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
36
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.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
+ - bibekbehera/autotrain-data-numeric_prediction
9
+ co2_eq_emissions:
10
+ emissions: 0.09875665677327088
11
+ ---
12
+
13
+ # Model Trained Using AutoTrain
14
+
15
+ - Problem type: Single Column Regression
16
+ - Model ID: 40376105019
17
+ - CO2 Emissions (in grams): 0.0988
18
+
19
+ ## Validation Metrics
20
+
21
+ - Loss: 0.152
22
+ - R2: 0.659
23
+ - MSE: 0.023
24
+ - MAE: 0.062
25
+ - RMSLE: 0.105
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": ["age", "year", "month", "day", "hour", "minute", "volume", "high", "low", "close", "open", "AVERAGE_SMA_3_CLOSE", "EMA_3_CLOSE", "MACD_3_CLOSE", "AVERAGE_SMA_3_OPENHIGH", "EMA_3_OPENHIGH", "MACD_3_OPENHIGH", "AVERAGE_SMA_3_HIGHLOW", "EMA_3_HIGHLOW", "MACD_3_HIGHLOW", "AVERAGE_SMA_3_VOLUME", "EMA_3_VOLUME", "MACD_3_VOLUME", "AVERAGE_SMA_4_CLOSE", "EMA_4_CLOSE", "MACD_4_CLOSE", "AVERAGE_SMA_4_OPENHIGH", "EMA_4_OPENHIGH", "MACD_4_OPENHIGH", "AVERAGE_SMA_4_HIGHLOW", "EMA_4_HIGHLOW", "MACD_4_HIGHLOW", "AVERAGE_SMA_4_VOLUME", "EMA_4_VOLUME", "MACD_4_VOLUME", "AVERAGE_SMA_7_CLOSE", "EMA_7_CLOSE", "MACD_7_CLOSE", "AVERAGE_SMA_7_OPENHIGH", "EMA_7_OPENHIGH", "MACD_7_OPENHIGH", "AVERAGE_SMA_7_HIGHLOW", "EMA_7_HIGHLOW", "MACD_7_HIGHLOW", "AVERAGE_SMA_7_VOLUME", "EMA_7_VOLUME", "MACD_7_VOLUME", "AVERAGE_SMA_20_CLOSE", "EMA_20_CLOSE", "MACD_20_CLOSE", "AVERAGE_SMA_20_OPENHIGH", "EMA_20_OPENHIGH", "MACD_20_OPENHIGH", "AVERAGE_SMA_20_HIGHLOW", "EMA_20_HIGHLOW", "MACD_20_HIGHLOW", "AVERAGE_SMA_20_VOLUME", "EMA_20_VOLUME", "MACD_20_VOLUME", "AVERAGE_SMA_50_CLOSE", "EMA_50_CLOSE", "MACD_50_CLOSE", "AVERAGE_SMA_50_OPENHIGH", "EMA_50_OPENHIGH", "MACD_50_OPENHIGH", "AVERAGE_SMA_50_HIGHLOW", "EMA_50_HIGHLOW", "MACD_50_HIGHLOW", "AVERAGE_SMA_50_VOLUME", "EMA_50_VOLUME", "MACD_50_VOLUME", "DAYS_UNTIL_END_OF_MONTH", "DAYS_UNTIL_END_OF_TRIMESTER", "DINAMIC3", "market"], "targets": ["target"], "model_type": "xgboost", "target_mapping": {}}
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b57f72deb49be094ebcfb1958e8e6f4c0d823f4bc7a69972302ef6d447c901c
3
+ size 51105257