Commit From AutoTrain
Browse files- .gitattributes +2 -0
- README.md +48 -0
- config.json +1 -0
- model.joblib +3 -0
.gitattributes
CHANGED
@@ -26,3 +26,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
26 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
27 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
28 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
26 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
27 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
28 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- tabular
|
5 |
+
- classification
|
6 |
+
- structured-data-classification
|
7 |
+
datasets:
|
8 |
+
- vabadeh213/autotrain-data-iris
|
9 |
+
co2_eq_emissions: 0.0006493037575021453
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Trained Using AutoTrain
|
13 |
+
|
14 |
+
- Problem type: Multi-class Classification
|
15 |
+
- Model ID: 744122711
|
16 |
+
- CO2 Emissions (in grams): 0.0006493037575021453
|
17 |
+
|
18 |
+
## Validation Metrics
|
19 |
+
|
20 |
+
- Loss: 0.09241962407466127
|
21 |
+
- Accuracy: 0.9666666666666667
|
22 |
+
- Macro F1: 0.9665831244778613
|
23 |
+
- Micro F1: 0.9666666666666667
|
24 |
+
- Weighted F1: 0.9665831244778613
|
25 |
+
- Macro Precision: 0.9696969696969697
|
26 |
+
- Micro Precision: 0.9666666666666667
|
27 |
+
- Weighted Precision: 0.9696969696969696
|
28 |
+
- Macro Recall: 0.9666666666666667
|
29 |
+
- Micro Recall: 0.9666666666666667
|
30 |
+
- Weighted Recall: 0.9666666666666667
|
31 |
+
|
32 |
+
## Usage
|
33 |
+
|
34 |
+
```python
|
35 |
+
import json
|
36 |
+
import joblib
|
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 |
+
```
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"features": ["sepal.length", "sepal.width", "petal.length", "petal.width"], "targets": ["target"], "model_type": "decision_tree", "target_mapping": {"Setosa": 0, "Versicolor": 1, "Virginica": 2}}
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57f0b52857cea0dd9e6c5f59f57b4a2c4f92f16794c7b84fd6774a5d2519a0d3
|
3 |
+
size 4448
|