Downloads · 30 days
0
diffuser34/autotrain-uzdtm-nwkp2
autotrain-uzdtm-nwkp2 is a tabular regression model from diffuser34. Use it for the tabular regression task on the model card, and read the license before you ship it in a product. It is set up for transformers.
Downloads · 30 days
0
Access
Public
Updated Feb 13, 2024
Repo size
508 KB
Likes
0
Public
Click a slice to open those files.
.joblib508 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]
predictions = model.predict(data) # or model.predict_proba(data)
# predictions can be converted to original labels using label_encoders.pkl