Downloads · 30 days
0
RafaelPrime/telecom-churn-xgboost
telecom-churn-xgboost is a machine learning model from RafaelPrime. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Modelo de classificação binária para previsão de churn em clientes de telecomunicações.
Downloads · 30 days
0
Access
Public
Updated May 2, 2026
Repo size
669 KB
Likes
0
Public
Click a slice to open those files.
.joblib669 KB · 100%
From the Hugging Face model README
Modelo de classificação binária para previsão de churn em clientes de telecomunicações.
| Métrica | Valor |
|---|---|
| Recall(churn) | 0.7429 |
| F1 (weighted) | 0.7681 |
| ROC-AUC | 0.8162 |
| Accuracy | 0.7573 |
import joblib, pandas as pd
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="RafaelPrime/telecom-churn-xgboost", filename="xgboost.joblib")
prep_path = hf_hub_download(repo_id="RafaelPrime/telecom-churn-xgboost", filename="preprocessor.joblib")
model = joblib.load(model_path)
preprocessor = joblib.load(prep_path)
# X_raw: DataFrame com as colunas originais do dataset
X_proc = preprocessor.transform(X_raw)
pred = model.predict(X_proc)