Downloads · 30 days
0
RafaelPrime/telecom-churn-random_forest
telecom-churn-random_forest 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
11.8 MB
Likes
0
Public
Click a slice to open those files.
.joblib11.8 MB · 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.6786 |
| F1 (weighted) | 0.7673 |
| ROC-AUC | 0.8210 |
| Accuracy | 0.7592 |
import joblib, pandas as pd
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="RafaelPrime/telecom-churn-random_forest", filename="random_forest.joblib")
prep_path = hf_hub_download(repo_id="RafaelPrime/telecom-churn-random_forest", 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)