Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +48 -0
- config.json +1 -0
- model.joblib +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
38 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- tabular
|
5 |
+
- classification
|
6 |
+
- tabular-classification
|
7 |
+
datasets:
|
8 |
+
- BrianDsouzaAI/autotrain-data-tab-multi
|
9 |
+
co2_eq_emissions:
|
10 |
+
emissions: 2.067391665478424
|
11 |
+
---
|
12 |
+
|
13 |
+
# Model Trained Using AutoTrain
|
14 |
+
|
15 |
+
- Problem type: Multi-label Classification
|
16 |
+
- Model ID: 92337144714
|
17 |
+
- CO2 Emissions (in grams): 2.0674
|
18 |
+
|
19 |
+
## Validation Metrics
|
20 |
+
|
21 |
+
- Loss: 3.634
|
22 |
+
|
23 |
+
## Usage
|
24 |
+
|
25 |
+
```python
|
26 |
+
import json
|
27 |
+
import joblib
|
28 |
+
|
29 |
+
import numpy as np
|
30 |
+
import pandas as pd
|
31 |
+
|
32 |
+
models = joblib.load('model.joblib')
|
33 |
+
config = json.load(open('config.json'))
|
34 |
+
|
35 |
+
features = config['features']
|
36 |
+
|
37 |
+
# data = pd.read_csv("data.csv")
|
38 |
+
data = data[features]
|
39 |
+
data.columns = ["feat_" + str(col) for col in data.columns]
|
40 |
+
|
41 |
+
predictions = []
|
42 |
+
for model_ in models:
|
43 |
+
predictions_ = model_.predict(data) # or model.predict_proba(data)[:, 1]
|
44 |
+
predictions.append(predictions_)
|
45 |
+
|
46 |
+
predictions = np.column_stack(predictions)
|
47 |
+
|
48 |
+
```
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"features": ["Planned_Stories", "Delivered_Stories"], "targets": ["target_Accurate", "target_Good Prediction", "target_Green", "target_Poor Prediction", "target_Red", "target_Underestimation"], "model_type": "xgboost", "target_mapping": {}}
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f68e899ff2103993e2f107d6feb30f9781e0cd5faace1b325c735d99c2ef750
|
3 |
+
size 89586
|