|
--- |
|
tags: |
|
- autotrain |
|
- tabular |
|
- classification |
|
- tabular-classification |
|
datasets: |
|
- willadamskeane/autotrain-data-over-under |
|
co2_eq_emissions: |
|
emissions: 0.04557412368301007 |
|
--- |
|
|
|
# Model Trained Using AutoTrain |
|
|
|
- Problem type: Binary Classification |
|
- Model ID: 96986146760 |
|
- CO2 Emissions (in grams): 0.0456 |
|
|
|
## Validation Metrics |
|
|
|
- Loss: 0.461 |
|
- Accuracy: 1.000 |
|
- Precision: 1.000 |
|
- Recall: 1.000 |
|
- AUC: 1.000 |
|
- F1: 1.000 |
|
|
|
## Usage |
|
|
|
```python |
|
import json |
|
import joblib |
|
import pandas as pd |
|
|
|
model = joblib.load('model.joblib') |
|
config = json.load(open('config.json')) |
|
|
|
features = config['features'] |
|
|
|
# data = pd.read_csv("data.csv") |
|
data = data[features] |
|
data.columns = ["feat_" + str(col) for col in data.columns] |
|
|
|
predictions = model.predict(data) # or model.predict_proba(data) |
|
|
|
``` |