Downloads · 30 days
11
3% of all-time downloads
M-Ahmad-Abid/Diabetes_model
Diabetes_model is a tabular classification model from M-Ahmad-Abid. 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 transformers.
- Problem type: Binary Classification - Model ID: 53980126976 - CO2 Emissions (in grams): 0.9262
Downloads · 30 days
11
3% of all-time downloads
All-time downloads
325
Public
Repo size
431 KB
Likes
0
Public
Click a slice to open those files.
.joblib431 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)