Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +51 -0
- config.json +3 -0
- model.joblib +3 -0
.gitattributes
CHANGED
@@ -30,3 +30,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
30 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
31 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
30 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
31 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.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 |
+
- tejas23/autotrain-data-amx2
|
9 |
+
co2_eq_emissions:
|
10 |
+
emissions: 7.7048287301375975
|
11 |
+
---
|
12 |
+
|
13 |
+
# Model Trained Using AutoTrain
|
14 |
+
|
15 |
+
- Problem type: Multi-class Classification
|
16 |
+
- Model ID: 1702259725
|
17 |
+
- CO2 Emissions (in grams): 7.7048
|
18 |
+
|
19 |
+
## Validation Metrics
|
20 |
+
|
21 |
+
- Loss: 0.421
|
22 |
+
- Accuracy: 0.827
|
23 |
+
- Macro F1: 0.530
|
24 |
+
- Micro F1: 0.827
|
25 |
+
- Weighted F1: 0.805
|
26 |
+
- Macro Precision: 0.579
|
27 |
+
- Micro Precision: 0.827
|
28 |
+
- Weighted Precision: 0.795
|
29 |
+
- Macro Recall: 0.513
|
30 |
+
- Micro Recall: 0.827
|
31 |
+
- Weighted Recall: 0.827
|
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,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bd4a328758d0ddf44f616ef36f2ef86e9bb6111375749eb65eb77bf554869ef
|
3 |
+
size 1621
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e42275a6c0e74e2ef36edfa48ce2f2107a99ec0e5a4610bfb862391c24ecc5ea
|
3 |
+
size 2206406
|