Downloads · 30 days
0
JosianaSilva/santander-customer-prediction
santander-customer-prediction is a machine learning model from JosianaSilva. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Modelo para predição de transações de clientes baseado no dataset do Kaggle Santander Customer Transaction Prediction.
Downloads · 30 days
0
Access
Public
Updated Nov 26, 2025
Repo size
20.1 MB
Likes
0
Public
Click a slice to open those files.
.pkl19.8 MB · 100%
From the Hugging Face model README
Modelo para predição de transações de clientes baseado no dataset do Kaggle Santander Customer Transaction Prediction.
Este modelo foi treinado usando Gradient Boosting Classifier com redução de dimensionalidade via PCA.
This model was automatically deployed because it meets the following criteria:
Only models that meet these performance thresholds are deployed to ensure quality.
from huggingface_hub import hf_hub_download
import joblib
# Download
model_path = hf_hub_download(repo_id="your-repo", filename="model.pkl")
pca_path = hf_hub_download(repo_id="your-repo", filename="pca.pkl")
scaler_path = hf_hub_download(repo_id="your-repo", filename="scaler.pkl")
# Load
model = joblib.load(model_path)
pca = joblib.load(pca_path)
scaler = joblib.load(scaler_path)
# Predict (assume X is your input data)
X_scaled = scaler.transform(X)
X_transformed = pca.transform(X_scaled)
predictions = model.predict(X_transformed)
probabilities = model.predict_proba(X_transformed)