Tabular Classification
Scikit-learn
lightgbm
notification-timing
interruptibility
Eval Results (legacy)
Instructions to use alianassmaaa/notification-bad-timing-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use alianassmaaa/notification-bad-timing-detector with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("alianassmaaa/notification-bad-timing-detector", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
| { | |
| "features": [ | |
| "hour_of_day", | |
| "day_of_week", | |
| "hour_sin", | |
| "hour_cos", | |
| "is_weekend", | |
| "is_night", | |
| "battery_level", | |
| "is_charging", | |
| "battery_change_rate", | |
| "screen_on", | |
| "screen_on_duration_30min", | |
| "app_opens_last_hour", | |
| "session_length_current", | |
| "time_since_last_interaction", | |
| "notif_shown_last_30min", | |
| "notif_clicked_last_30min", | |
| "notif_dismissed_last_30min", | |
| "notif_ignored_last_30min", | |
| "notif_shown_last_24h", | |
| "notif_ctr_last_7d", | |
| "recent_notification_density" | |
| ], | |
| "target": "bad_timing", | |
| "best_params": { | |
| "n_estimators": 500, | |
| "learning_rate": 0.05, | |
| "max_depth": 4, | |
| "num_leaves": 63, | |
| "min_child_samples": 50, | |
| "subsample": 0.8, | |
| "colsample_bytree": 0.8, | |
| "reg_alpha": 0, | |
| "reg_lambda": 1.0, | |
| "scale_pos_weight": 0.9037776387717913, | |
| "random_state": 42 | |
| }, | |
| "metrics": { | |
| "roc_auc": 0.8337733629294475, | |
| "pr_auc": 0.8524595995659757, | |
| "brier_score": 0.16567988798337643, | |
| "accuracy": 0.7582666666666666, | |
| "f1": 0.7765865680837954, | |
| "ensemble_roc_auc": 0.8343689574320163, | |
| "ensemble_pr_auc": 0.8595451820556155 | |
| }, | |
| "n_ensemble_models": 5, | |
| "sklearn_version": "1.8.0", | |
| "lightgbm_version": "4.6.0" | |
| } |