Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +51 -0
- config.json +1 -0
- 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,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- tabular
|
5 |
+
- classification
|
6 |
+
- tabular-classification
|
7 |
+
datasets:
|
8 |
+
- yuan1729/autotrain-data-a_
|
9 |
+
co2_eq_emissions:
|
10 |
+
emissions: 3.4958451355282567
|
11 |
+
---
|
12 |
+
|
13 |
+
# Model Trained Using AutoTrain
|
14 |
+
|
15 |
+
- Problem type: Multi-class Classification
|
16 |
+
- Model ID: 55839129832
|
17 |
+
- CO2 Emissions (in grams): 3.4958
|
18 |
+
|
19 |
+
## Validation Metrics
|
20 |
+
|
21 |
+
- Loss: 0.667
|
22 |
+
- Accuracy: 0.765
|
23 |
+
- Macro F1: 0.608
|
24 |
+
- Micro F1: 0.765
|
25 |
+
- Weighted F1: 0.753
|
26 |
+
- Macro Precision: 0.716
|
27 |
+
- Micro Precision: 0.765
|
28 |
+
- Weighted Precision: 0.760
|
29 |
+
- Macro Recall: 0.576
|
30 |
+
- Micro Recall: 0.765
|
31 |
+
- Weighted Recall: 0.765
|
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 |
+
data.columns = ["feat_" + str(col) for col in data.columns]
|
48 |
+
|
49 |
+
predictions = model.predict(data) # or model.predict_proba(data)
|
50 |
+
|
51 |
+
```
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"features": ["col1", "col2", "col4", "col5", "col6", "col7", "col8", "col9", "col10", "col11", "col12", "col13", "col14", "col15", "col16", "col17", "col18", "col19", "col20", "col21", "col22", "col23", "col24", "col25", "col26", "col27", "col28", "col29", "col30", "col31", "col32", "col33", "col34", "col35", "col36", "col37", "col38", "col39", "col40", "col41", "col42"], "targets": ["target"], "model_type": "xgboost", "target_mapping": {"1": 0, "2": 1, "3": 2, "4": 3, "5": 4}}
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3dda23b5cd556bb3338dac5fe0310059d8d415b8b142d650c7871ddc76707753
|
3 |
+
size 1615399
|