Views
No views yet
| Metric | Value |
|---|---|
| Recall | 99.78% |
| Precision | 63.2% |
| F2 Score | 0.917 |
| ROC-AUC | 0.70 |
1import joblib
2from huggingface_hub import hf_hub_download
3
4model_path = hf_hub_download(
5 repo_id="jskswamy/predictive-maintenance-model",
6 filename="best_model.joblib"
7)
8model = joblib.load(model_path)
9prediction = model.predict_proba(features)[:, 1]
10needs_maintenance = prediction > 0.316