Downloads · 30 days
7
5% of all-time downloads
BrianDsouzaAI/autotrain-tab-multi-92337144714
autotrain-tab-multi-92337144714 is a tabular classification model from BrianDsouzaAI. 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: Multi-label Classification - Model ID: 92337144714 - CO2 Emissions (in grams): 2.0674
Downloads · 30 days
7
5% of all-time downloads
All-time downloads
138
Public
Repo size
89.6 KB
Likes
0
Public
Click a slice to open those files.
.joblib89.6 KB · 97%
From the Hugging Face model README
import json
import joblib
import numpy as np
import pandas as pd
models = 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 = []
for model_ in models:
predictions_ = model_.predict(data) # or model.predict_proba(data)[:, 1]
predictions.append(predictions_)
predictions = np.column_stack(predictions)