Downloads · 30 days
0
maitelizarraga/rea-svm
rea-svm is a tabular regression model from maitelizarraga. Use it for the tabular regression task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Sep 4, 2024
Repo size
6.6 KB
Likes
0
Public
Click a slice to open those files.
.joblib6.6 KB · 70%
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