Downloads · 30 days
0
jrosenzw/autotrain-diabetes-detection-2-74371139581
autotrain-diabetes-detection-2-74371139581 is a tabular classification model from jrosenzw. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. It is set up for sklearn.
- Problem type: Binary Classification - Model ID: 74371139581 - CO2 Emissions (in grams): 0.6961
Downloads · 30 days
0
Access
Public
Updated Jul 13, 2023
Repo size
308 KB
Likes
0
Public
Click a slice to open those files.
.joblib308 KB · 99%
From the Hugging Face model README
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)