rocpourpredire / README.md
Tyberghein's picture
Update README.md
0745e0f
|
raw
history blame
784 Bytes
metadata
tags:
  - autotrain
  - tabular
  - classification
  - tabular-classification
datasets:
  - Tyberghein/autotrain-data-roctime
co2_eq_emissions:
  emissions: 1.2143986009825405

Model Trained Using AutoTrain

  • Problem type: Binary Classification
  • Model ID: 67741137056
  • CO2 Emissions (in grams): 1.2144

Validation Metrics

  • Loss: 0.000
  • Accuracy: 1.000
  • Precision: 1.000
  • Recall: 1.000
  • AUC: 1.000
  • F1: 1.000

Usage

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)