Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +46 -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,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- tabular
|
5 |
+
- classification
|
6 |
+
- tabular-classification
|
7 |
+
datasets:
|
8 |
+
- willadamskeane/autotrain-data-over-under
|
9 |
+
co2_eq_emissions:
|
10 |
+
emissions: 0.04557412368301007
|
11 |
+
---
|
12 |
+
|
13 |
+
# Model Trained Using AutoTrain
|
14 |
+
|
15 |
+
- Problem type: Binary Classification
|
16 |
+
- Model ID: 96986146760
|
17 |
+
- CO2 Emissions (in grams): 0.0456
|
18 |
+
|
19 |
+
## Validation Metrics
|
20 |
+
|
21 |
+
- Loss: 0.461
|
22 |
+
- Accuracy: 1.000
|
23 |
+
- Precision: 1.000
|
24 |
+
- Recall: 1.000
|
25 |
+
- AUC: 1.000
|
26 |
+
- F1: 1.000
|
27 |
+
|
28 |
+
## Usage
|
29 |
+
|
30 |
+
```python
|
31 |
+
import json
|
32 |
+
import joblib
|
33 |
+
import pandas as pd
|
34 |
+
|
35 |
+
model = joblib.load('model.joblib')
|
36 |
+
config = json.load(open('config.json'))
|
37 |
+
|
38 |
+
features = config['features']
|
39 |
+
|
40 |
+
# data = pd.read_csv("data.csv")
|
41 |
+
data = data[features]
|
42 |
+
data.columns = ["feat_" + str(col) for col in data.columns]
|
43 |
+
|
44 |
+
predictions = model.predict(data) # or model.predict_proba(data)
|
45 |
+
|
46 |
+
```
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"features": ["1Q", "2Q", "3Q", "4Q", "OT1", "OT2", "OT3", "OT4", "OT5", "F", "MIN", "FG", "FGA", "3P", "3PA", "FT", "FTA", "OR", "DR", "TOT", "A", "PF", "ST", "TO", "BL", "PTS", "POSS", "PACE", "OEFF", "DEFF", "REST DAYS", "OPENING SPREAD", "OPENING TOTAL", "DATASET", "DATE", "TEAM", "VENUE", "STARTING LINEUPS - 1", "STARTING LINEUPS - 2", "STARTING LINEUPS - 3", "STARTING LINEUPS - 4", "STARTING LINEUPS - 5", "MAIN REF", "OTHER REF", "CREW", "OPENING ODDS"], "targets": ["target"], "model_type": "xgboost", "target_mapping": {"False": 0, "True": 1}}
|
model.joblib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8de93fb374d5e1f021dbcdd496f980baad819198eb2049fac454faa80d43567
|
3 |
+
size 144323
|