Downloads · 30 days
0
RafaelPrime/telecom-churn-logistic_regression
telecom-churn-logistic_regression 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
8.4 KB
Likes
0
Public
Click a slice to open those files.
.joblib8.4 KB · 77%
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.7750 |
| F1 (weighted) | 0.7391 |
| ROC-AUC | 0.8221 |
| Accuracy | 0.7242 |
import joblib, pandas as pd
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="RafaelPrime/telecom-churn-logistic_regression", filename="logistic_regression.joblib")
prep_path = hf_hub_download(repo_id="RafaelPrime/telecom-churn-logistic_regression", 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)