Instructions to use molkab/dashboard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use molkab/dashboard with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://molkab/dashboard") - Notebooks
- Google Colab
- Kaggle
Upload 35 files
Browse files- .gitattributes +6 -0
- agents_rl_7.pkl +2 -2
- autoencoder.keras +0 -0
- best_model.joblib +3 -0
- config.joblib +2 -2
- data_cleaning_avant_apres.png +3 -0
- dc1_synthese_anomalies.png +3 -0
- decisions_par_station.parquet +2 -2
- df_avec_anomalies.parquet +2 -2
- df_full_processed.parquet +2 -2
- df_test_processed.parquet +2 -2
- df_train_processed.parquet +2 -2
- eda_correlations.png +3 -0
- encodeurs.joblib +2 -2
- kpi_reseau.json +28 -25
- modele_lgbm.joblib +2 -2
- modeles_anomalie.joblib +2 -2
- performance_qualitative_modeles.csv +7 -7
- pipeline_inference.joblib +2 -2
- precision_recall_modeles.png +3 -0
- quantile_models.joblib +2 -2
- rapport_optimisation.json +85 -82
- resultats_anomalie.json +42 -42
- resultats_modeles.json +42 -35
- rl_7agents_apprentissage.png +2 -2
- score_stations.parquet +2 -2
- shap_bar.png +0 -0
- shap_beeswarm.png +3 -0
- shap_waterfall.png +0 -0
- streamlit_carte_stations.parquet +2 -2
- streamlit_data.parquet +2 -2
- streamlit_profil_horaire.parquet +2 -2
- streamlit_score_stations.parquet +2 -2
- streamlit_timeseries.parquet +2 -2
- tableau_de_bord_complet.png +2 -2
- tsne_anomalies.png +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
rl_7agents_apprentissage.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
tableau_de_bord_complet.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
rl_7agents_apprentissage.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
tableau_de_bord_complet.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
data_cleaning_avant_apres.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
dc1_synthese_anomalies.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
eda_correlations.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
precision_recall_modeles.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
shap_beeswarm.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
tsne_anomalies.png filter=lfs diff=lfs merge=lfs -text
|
agents_rl_7.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:695590985871df4cc26f7c806657ae49a677be8cfff06d436934219337375707
|
| 3 |
+
size 85076
|
autoencoder.keras
CHANGED
|
Binary files a/autoencoder.keras and b/autoencoder.keras differ
|
|
|
best_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1100c504326032430adc1be053b0673da9bd8183d2a8a657c8e53d3faa64c378
|
| 3 |
+
size 903927
|
config.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccc6f09a75b29302c78be04cd07d869bd4eaed761c902977356c78b2ae25c2e4
|
| 3 |
+
size 696
|
data_cleaning_avant_apres.png
ADDED
|
Git LFS Details
|
dc1_synthese_anomalies.png
ADDED
|
Git LFS Details
|
decisions_par_station.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58dd72eaf66c170feddef4c1f6b5c3098f48c5f950bb0e125b9605337522b44f
|
| 3 |
+
size 80929
|
df_avec_anomalies.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc71066055a5998546b85042fba48a34b5be0d8df8dd986392dcefecc7b0aa82
|
| 3 |
+
size 284367085
|
df_full_processed.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90490463d97414e37447347680a0d03c06e17c3f61c3b60173679179fc28bf66
|
| 3 |
+
size 267620145
|
df_test_processed.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d98554d69e0b9469d3fefd4504d28208f43cb001d78455936ff981fb5c91077c
|
| 3 |
+
size 91190872
|
df_train_processed.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3274fbfb0734dbbb264bbf64fd163d8a366e3ec10131095752e3e348919caa9d
|
| 3 |
+
size 179317289
|
eda_correlations.png
ADDED
|
Git LFS Details
|
encodeurs.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7440bb6837ae9f9a94e934c85ee038841c6420f9c4bc4bc6f232345622a5d4c7
|
| 3 |
+
size 1912
|
kpi_reseau.json
CHANGED
|
@@ -1,51 +1,54 @@
|
|
| 1 |
{
|
| 2 |
-
"nb_stations":
|
| 3 |
-
"nb_mesures":
|
| 4 |
-
"conso_totale_kwh":
|
| 5 |
-
"conso_moyenne_kwh": 3.
|
| 6 |
-
"eei_moyen":
|
| 7 |
-
"score_qos_moyen": 0.
|
| 8 |
-
"pct_mode_eco":
|
| 9 |
-
"pct_mode_critique":
|
| 10 |
-
"pct_anomalies":
|
| 11 |
-
"n_alertes_2g":
|
| 12 |
-
"economie_combinee_pct":
|
| 13 |
-
"economie_combinee_kwh":
|
| 14 |
-
"co2_evite_t":
|
| 15 |
-
"economie_dt":
|
| 16 |
-
"meilleur_agent_rl": "Q-Learning",
|
| 17 |
-
"economie_rl_pct": 17.
|
| 18 |
-
"economie_rl_kwh":
|
| 19 |
"rl_violations_qos": 0,
|
| 20 |
"rl_agents_comparaison": {
|
| 21 |
"Q-Learning": {
|
| 22 |
-
"eco_pct":
|
| 23 |
"n_viols": 0
|
| 24 |
},
|
| 25 |
"SARSA": {
|
| 26 |
-
"eco_pct":
|
| 27 |
"n_viols": 0
|
| 28 |
},
|
| 29 |
"Double Q-Learning": {
|
| 30 |
-
"eco_pct":
|
| 31 |
"n_viols": 0
|
| 32 |
},
|
| 33 |
"Expected SARSA": {
|
| 34 |
-
"eco_pct":
|
| 35 |
"n_viols": 0
|
| 36 |
},
|
| 37 |
"Q-Learning UCB": {
|
| 38 |
-
"eco_pct":
|
| 39 |
"n_viols": 0
|
| 40 |
},
|
| 41 |
"SARSA(λ)": {
|
| 42 |
-
"eco_pct":
|
| 43 |
"n_viols": 0
|
| 44 |
},
|
| 45 |
"Monte Carlo": {
|
| 46 |
-
"eco_pct":
|
| 47 |
"n_viols": 0
|
| 48 |
}
|
| 49 |
},
|
| 50 |
-
"generated_at": "2026-
|
|
|
|
|
|
|
|
|
|
| 51 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"nb_stations": 66,
|
| 3 |
+
"nb_mesures": 525706,
|
| 4 |
+
"conso_totale_kwh": 1700808.91,
|
| 5 |
+
"conso_moyenne_kwh": 3.2353,
|
| 6 |
+
"eei_moyen": 103.36,
|
| 7 |
+
"score_qos_moyen": 0.7614,
|
| 8 |
+
"pct_mode_eco": 26.7,
|
| 9 |
+
"pct_mode_critique": 3.01,
|
| 10 |
+
"pct_anomalies": 6.47,
|
| 11 |
+
"n_alertes_2g": 11035,
|
| 12 |
+
"economie_combinee_pct": 13.67,
|
| 13 |
+
"economie_combinee_kwh": 232479.0,
|
| 14 |
+
"co2_evite_t": 123.2,
|
| 15 |
+
"economie_dt": 92992.0,
|
| 16 |
+
"meilleur_agent_rl": "Q-Learning UCB",
|
| 17 |
+
"economie_rl_pct": 17.36,
|
| 18 |
+
"economie_rl_kwh": 73490.0,
|
| 19 |
"rl_violations_qos": 0,
|
| 20 |
"rl_agents_comparaison": {
|
| 21 |
"Q-Learning": {
|
| 22 |
+
"eco_pct": 9.31,
|
| 23 |
"n_viols": 0
|
| 24 |
},
|
| 25 |
"SARSA": {
|
| 26 |
+
"eco_pct": 14.5,
|
| 27 |
"n_viols": 0
|
| 28 |
},
|
| 29 |
"Double Q-Learning": {
|
| 30 |
+
"eco_pct": 15.3,
|
| 31 |
"n_viols": 0
|
| 32 |
},
|
| 33 |
"Expected SARSA": {
|
| 34 |
+
"eco_pct": 15.25,
|
| 35 |
"n_viols": 0
|
| 36 |
},
|
| 37 |
"Q-Learning UCB": {
|
| 38 |
+
"eco_pct": 17.36,
|
| 39 |
"n_viols": 0
|
| 40 |
},
|
| 41 |
"SARSA(λ)": {
|
| 42 |
+
"eco_pct": 15.2,
|
| 43 |
"n_viols": 0
|
| 44 |
},
|
| 45 |
"Monte Carlo": {
|
| 46 |
+
"eco_pct": 8.15,
|
| 47 |
"n_viols": 0
|
| 48 |
}
|
| 49 |
},
|
| 50 |
+
"generated_at": "2026-05-21T13:56:10.701085",
|
| 51 |
+
"economie_rl_episodique_pct": 0.68,
|
| 52 |
+
"ecart_statique_vs_episodique": -16.68,
|
| 53 |
+
"note_baseline": "Baseline = consommation mesurée 2024 sans optimisation active. Ne tient pas compte des pratiques manuelles déjà en place."
|
| 54 |
}
|
modele_lgbm.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:185303cb432ac1a77d71c505feb60e2f047bdb1748e1f72c6872730d2fe9ad03
|
| 3 |
+
size 904536
|
modeles_anomalie.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c01bd1bbb45f7a21fa5df585bea95c401c8f242049421cff2b9c6ca21035f2bc
|
| 3 |
+
size 15124051
|
performance_qualitative_modeles.csv
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
,pct_detection_%,valid_metier_%,instabilite,pval_stabilite,score_stabilite,overlap_ensemble_%,type_dominant,score_composite
|
| 2 |
-
Isolation Forest,
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 1 |
,pct_detection_%,valid_metier_%,instabilite,pval_stabilite,score_stabilite,overlap_ensemble_%,type_dominant,score_composite
|
| 2 |
+
Isolation Forest,6.44,27.6,0.05,0.2752,100.0,69.6,t4_%,70.65
|
| 3 |
+
One-Class SVM,6.64,24.1,0.04,0.2997,100.0,73.9,t4_%,70.28
|
| 4 |
+
GMM,6.23,24.0,0.01,0.8908,100.0,50.9,t4_%,64.52
|
| 5 |
+
Elliptic Envelope,6.65,23.8,0.16,0.0001,98.4,49.3,t4_%,63.62
|
| 6 |
+
DBSCAN,2.97,36.3,0.0,0.9712,100.0,43.9,t4_%,59.96
|
| 7 |
+
LOF,6.99,12.7,0.36,0.0,96.4,17.4,t4_%,51.15
|
| 8 |
+
Autoencoder,6.04,8.0,0.14,0.0006,98.6,13.4,t4_%,49.62
|
pipeline_inference.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d693551272920516c6f18c52827ec4b4e4fe7d5b832417d14083e86913c3a4c
|
| 3 |
+
size 16796811
|
precision_recall_modeles.png
ADDED
|
Git LFS Details
|
quantile_models.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f2301ba0c5c83afab5d493530c68c9bae8f3457e0e7c647bd9cb12339ef66e0
|
| 3 |
+
size 675099
|
rapport_optimisation.json
CHANGED
|
@@ -1,129 +1,132 @@
|
|
| 1 |
{
|
| 2 |
"economies": {
|
| 3 |
"1 — Sleep mode secteur": {
|
| 4 |
-
"economie_kwh":
|
| 5 |
-
"economie_pct":
|
| 6 |
-
"co2_evite_t":
|
| 7 |
-
"economie_dt":
|
| 8 |
-
"n_eligible":
|
| 9 |
-
"couverture_pct":
|
| 10 |
"objectif_10pct": false
|
| 11 |
},
|
| 12 |
"2 — Réduction puissance": {
|
| 13 |
-
"economie_kwh":
|
| 14 |
-
"economie_pct": 2.
|
| 15 |
-
"co2_evite_t":
|
| 16 |
-
"economie_dt":
|
| 17 |
-
"n_eligible":
|
| 18 |
-
"couverture_pct":
|
| 19 |
"objectif_10pct": false
|
| 20 |
},
|
| 21 |
"3 — Free cooling": {
|
| 22 |
-
"economie_kwh":
|
| 23 |
"economie_pct": 1.38,
|
| 24 |
-
"co2_evite_t":
|
| 25 |
-
"economie_dt":
|
| 26 |
-
"n_eligible":
|
| 27 |
-
"couverture_pct":
|
| 28 |
"objectif_10pct": false
|
| 29 |
},
|
| 30 |
"4 — Mode éco calendaire": {
|
| 31 |
-
"economie_kwh":
|
| 32 |
-
"economie_pct": 0.
|
| 33 |
-
"co2_evite_t": 0.
|
| 34 |
-
"economie_dt":
|
| 35 |
-
"n_eligible":
|
| 36 |
-
"couverture_pct": 1.
|
| 37 |
"objectif_10pct": false
|
| 38 |
},
|
| 39 |
"5 — Combinée (1+2+3+4)": {
|
| 40 |
-
"economie_kwh":
|
| 41 |
-
"economie_pct":
|
| 42 |
-
"co2_evite_t":
|
| 43 |
-
"economie_dt":
|
| 44 |
"objectif_10pct": true
|
| 45 |
},
|
| 46 |
"5 — Alerte saturation 2G (surveillance)": {
|
| 47 |
-
"n_observations":
|
| 48 |
-
"couverture_pct": 2.
|
| 49 |
"economie_kwh": 0,
|
| 50 |
"action": "migration_3G_4G_ou_extension_capacite"
|
| 51 |
},
|
| 52 |
-
"baseline_kwh":
|
| 53 |
-
"baseline_co2_t":
|
| 54 |
-
"baseline_dt":
|
| 55 |
},
|
| 56 |
"kpi_reseau": {
|
| 57 |
-
"nb_stations":
|
| 58 |
-
"nb_mesures":
|
| 59 |
-
"conso_totale_kwh":
|
| 60 |
-
"conso_moyenne_kwh": 3.
|
| 61 |
-
"eei_moyen":
|
| 62 |
-
"score_qos_moyen": 0.
|
| 63 |
-
"pct_mode_eco":
|
| 64 |
-
"pct_mode_critique":
|
| 65 |
-
"pct_anomalies":
|
| 66 |
-
"n_alertes_2g":
|
| 67 |
-
"economie_combinee_pct":
|
| 68 |
-
"economie_combinee_kwh":
|
| 69 |
-
"co2_evite_t":
|
| 70 |
-
"economie_dt":
|
| 71 |
-
"meilleur_agent_rl": "Q-Learning",
|
| 72 |
-
"economie_rl_pct": 17.
|
| 73 |
-
"economie_rl_kwh":
|
| 74 |
"rl_violations_qos": 0,
|
| 75 |
"rl_agents_comparaison": {
|
| 76 |
"Q-Learning": {
|
| 77 |
-
"eco_pct":
|
| 78 |
"n_viols": 0
|
| 79 |
},
|
| 80 |
"SARSA": {
|
| 81 |
-
"eco_pct":
|
| 82 |
"n_viols": 0
|
| 83 |
},
|
| 84 |
"Double Q-Learning": {
|
| 85 |
-
"eco_pct":
|
| 86 |
"n_viols": 0
|
| 87 |
},
|
| 88 |
"Expected SARSA": {
|
| 89 |
-
"eco_pct":
|
| 90 |
"n_viols": 0
|
| 91 |
},
|
| 92 |
"Q-Learning UCB": {
|
| 93 |
-
"eco_pct":
|
| 94 |
"n_viols": 0
|
| 95 |
},
|
| 96 |
"SARSA(λ)": {
|
| 97 |
-
"eco_pct":
|
| 98 |
"n_viols": 0
|
| 99 |
},
|
| 100 |
"Monte Carlo": {
|
| 101 |
-
"eco_pct":
|
| 102 |
"n_viols": 0
|
| 103 |
}
|
| 104 |
},
|
| 105 |
-
"generated_at": "2026-
|
|
|
|
|
|
|
|
|
|
| 106 |
},
|
| 107 |
"couvertures": {
|
| 108 |
-
"strat_1_sleep_pct":
|
| 109 |
-
"strat_2_reduction_pct":
|
| 110 |
-
"strat_3_free_cooling_pct":
|
| 111 |
-
"strat_4_eco_calendaire_pct": 1.
|
| 112 |
-
"strat_5_alerte_2g_pct": 2.
|
| 113 |
},
|
| 114 |
"rl_resultats_tous_agents": {
|
| 115 |
"Q-Learning": {
|
| 116 |
-
"economie_pct":
|
| 117 |
-
"economie_kwh":
|
| 118 |
"n_violations": 0,
|
| 119 |
"pct_violations": 0.0,
|
| 120 |
"class_name": "AgentQLearning",
|
| 121 |
"reference": "Watkins & Dayan (1992)",
|
| 122 |
-
"is_best":
|
| 123 |
},
|
| 124 |
"SARSA": {
|
| 125 |
-
"economie_pct":
|
| 126 |
-
"economie_kwh":
|
| 127 |
"n_violations": 0,
|
| 128 |
"pct_violations": 0.0,
|
| 129 |
"class_name": "AgentSARSA",
|
|
@@ -131,8 +134,8 @@
|
|
| 131 |
"is_best": false
|
| 132 |
},
|
| 133 |
"Double Q-Learning": {
|
| 134 |
-
"economie_pct":
|
| 135 |
-
"economie_kwh":
|
| 136 |
"n_violations": 0,
|
| 137 |
"pct_violations": 0.0,
|
| 138 |
"class_name": "AgentDoubleQLearning",
|
|
@@ -140,8 +143,8 @@
|
|
| 140 |
"is_best": false
|
| 141 |
},
|
| 142 |
"Expected SARSA": {
|
| 143 |
-
"economie_pct":
|
| 144 |
-
"economie_kwh":
|
| 145 |
"n_violations": 0,
|
| 146 |
"pct_violations": 0.0,
|
| 147 |
"class_name": "AgentExpectedSARSA",
|
|
@@ -149,17 +152,17 @@
|
|
| 149 |
"is_best": false
|
| 150 |
},
|
| 151 |
"Q-Learning UCB": {
|
| 152 |
-
"economie_pct":
|
| 153 |
-
"economie_kwh":
|
| 154 |
"n_violations": 0,
|
| 155 |
"pct_violations": 0.0,
|
| 156 |
"class_name": "AgentQLearningUCB",
|
| 157 |
"reference": "Auer et al. (2002)",
|
| 158 |
-
"is_best":
|
| 159 |
},
|
| 160 |
"SARSA(λ)": {
|
| 161 |
-
"economie_pct":
|
| 162 |
-
"economie_kwh":
|
| 163 |
"n_violations": 0,
|
| 164 |
"pct_violations": 0.0,
|
| 165 |
"class_name": "AgentSARSALambda",
|
|
@@ -167,8 +170,8 @@
|
|
| 167 |
"is_best": false
|
| 168 |
},
|
| 169 |
"Monte Carlo": {
|
| 170 |
-
"economie_pct":
|
| 171 |
-
"economie_kwh":
|
| 172 |
"n_violations": 0,
|
| 173 |
"pct_violations": 0.0,
|
| 174 |
"class_name": "AgentMonteCarlo",
|
|
@@ -176,8 +179,8 @@
|
|
| 176 |
"is_best": false
|
| 177 |
}
|
| 178 |
},
|
| 179 |
-
"meilleur_agent": "Q-Learning",
|
| 180 |
-
"top_eco_agent": "Q-Learning",
|
| 181 |
-
"n_episodes":
|
| 182 |
-
"generated_at": "2026-
|
| 183 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"economies": {
|
| 3 |
"1 — Sleep mode secteur": {
|
| 4 |
+
"economie_kwh": 157190.58,
|
| 5 |
+
"economie_pct": 9.24,
|
| 6 |
+
"co2_evite_t": 83.31,
|
| 7 |
+
"economie_dt": 62876.23,
|
| 8 |
+
"n_eligible": 81755,
|
| 9 |
+
"couverture_pct": 15.6,
|
| 10 |
"objectif_10pct": false
|
| 11 |
},
|
| 12 |
"2 — Réduction puissance": {
|
| 13 |
+
"economie_kwh": 50573.1,
|
| 14 |
+
"economie_pct": 2.97,
|
| 15 |
+
"co2_evite_t": 26.8,
|
| 16 |
+
"economie_dt": 20229.24,
|
| 17 |
+
"n_eligible": 139256,
|
| 18 |
+
"couverture_pct": 26.5,
|
| 19 |
"objectif_10pct": false
|
| 20 |
},
|
| 21 |
"3 — Free cooling": {
|
| 22 |
+
"economie_kwh": 23500.67,
|
| 23 |
"economie_pct": 1.38,
|
| 24 |
+
"co2_evite_t": 12.46,
|
| 25 |
+
"economie_dt": 9400.27,
|
| 26 |
+
"n_eligible": 47626,
|
| 27 |
+
"couverture_pct": 9.1,
|
| 28 |
"objectif_10pct": false
|
| 29 |
},
|
| 30 |
"4 — Mode éco calendaire": {
|
| 31 |
+
"economie_kwh": 1214.72,
|
| 32 |
+
"economie_pct": 0.07,
|
| 33 |
+
"co2_evite_t": 0.64,
|
| 34 |
+
"economie_dt": 485.89,
|
| 35 |
+
"n_eligible": 5259,
|
| 36 |
+
"couverture_pct": 1.0,
|
| 37 |
"objectif_10pct": false
|
| 38 |
},
|
| 39 |
"5 — Combinée (1+2+3+4)": {
|
| 40 |
+
"economie_kwh": 232479.07,
|
| 41 |
+
"economie_pct": 13.67,
|
| 42 |
+
"co2_evite_t": 123.21,
|
| 43 |
+
"economie_dt": 92991.63,
|
| 44 |
"objectif_10pct": true
|
| 45 |
},
|
| 46 |
"5 — Alerte saturation 2G (surveillance)": {
|
| 47 |
+
"n_observations": 11035,
|
| 48 |
+
"couverture_pct": 2.1,
|
| 49 |
"economie_kwh": 0,
|
| 50 |
"action": "migration_3G_4G_ou_extension_capacite"
|
| 51 |
},
|
| 52 |
+
"baseline_kwh": 1700808.91,
|
| 53 |
+
"baseline_co2_t": 901.43,
|
| 54 |
+
"baseline_dt": 680323.56
|
| 55 |
},
|
| 56 |
"kpi_reseau": {
|
| 57 |
+
"nb_stations": 66,
|
| 58 |
+
"nb_mesures": 525706,
|
| 59 |
+
"conso_totale_kwh": 1700808.91,
|
| 60 |
+
"conso_moyenne_kwh": 3.2353,
|
| 61 |
+
"eei_moyen": 103.36,
|
| 62 |
+
"score_qos_moyen": 0.7614,
|
| 63 |
+
"pct_mode_eco": 26.7,
|
| 64 |
+
"pct_mode_critique": 3.01,
|
| 65 |
+
"pct_anomalies": 6.47,
|
| 66 |
+
"n_alertes_2g": 11035,
|
| 67 |
+
"economie_combinee_pct": 13.67,
|
| 68 |
+
"economie_combinee_kwh": 232479.0,
|
| 69 |
+
"co2_evite_t": 123.2,
|
| 70 |
+
"economie_dt": 92992.0,
|
| 71 |
+
"meilleur_agent_rl": "Q-Learning UCB",
|
| 72 |
+
"economie_rl_pct": 17.36,
|
| 73 |
+
"economie_rl_kwh": 73490.0,
|
| 74 |
"rl_violations_qos": 0,
|
| 75 |
"rl_agents_comparaison": {
|
| 76 |
"Q-Learning": {
|
| 77 |
+
"eco_pct": 9.31,
|
| 78 |
"n_viols": 0
|
| 79 |
},
|
| 80 |
"SARSA": {
|
| 81 |
+
"eco_pct": 14.5,
|
| 82 |
"n_viols": 0
|
| 83 |
},
|
| 84 |
"Double Q-Learning": {
|
| 85 |
+
"eco_pct": 15.3,
|
| 86 |
"n_viols": 0
|
| 87 |
},
|
| 88 |
"Expected SARSA": {
|
| 89 |
+
"eco_pct": 15.25,
|
| 90 |
"n_viols": 0
|
| 91 |
},
|
| 92 |
"Q-Learning UCB": {
|
| 93 |
+
"eco_pct": 17.36,
|
| 94 |
"n_viols": 0
|
| 95 |
},
|
| 96 |
"SARSA(λ)": {
|
| 97 |
+
"eco_pct": 15.2,
|
| 98 |
"n_viols": 0
|
| 99 |
},
|
| 100 |
"Monte Carlo": {
|
| 101 |
+
"eco_pct": 8.15,
|
| 102 |
"n_viols": 0
|
| 103 |
}
|
| 104 |
},
|
| 105 |
+
"generated_at": "2026-05-21T13:56:10.701085",
|
| 106 |
+
"economie_rl_episodique_pct": 0.68,
|
| 107 |
+
"ecart_statique_vs_episodique": -16.68,
|
| 108 |
+
"note_baseline": "Baseline = consommation mesurée 2024 sans optimisation active. Ne tient pas compte des pratiques manuelles déjà en place."
|
| 109 |
},
|
| 110 |
"couvertures": {
|
| 111 |
+
"strat_1_sleep_pct": 15.6,
|
| 112 |
+
"strat_2_reduction_pct": 26.5,
|
| 113 |
+
"strat_3_free_cooling_pct": 16.1,
|
| 114 |
+
"strat_4_eco_calendaire_pct": 1.0,
|
| 115 |
+
"strat_5_alerte_2g_pct": 2.1
|
| 116 |
},
|
| 117 |
"rl_resultats_tous_agents": {
|
| 118 |
"Q-Learning": {
|
| 119 |
+
"economie_pct": 9.3074,
|
| 120 |
+
"economie_kwh": 39410.43,
|
| 121 |
"n_violations": 0,
|
| 122 |
"pct_violations": 0.0,
|
| 123 |
"class_name": "AgentQLearning",
|
| 124 |
"reference": "Watkins & Dayan (1992)",
|
| 125 |
+
"is_best": false
|
| 126 |
},
|
| 127 |
"SARSA": {
|
| 128 |
+
"economie_pct": 14.4981,
|
| 129 |
+
"economie_kwh": 61389.35,
|
| 130 |
"n_violations": 0,
|
| 131 |
"pct_violations": 0.0,
|
| 132 |
"class_name": "AgentSARSA",
|
|
|
|
| 134 |
"is_best": false
|
| 135 |
},
|
| 136 |
"Double Q-Learning": {
|
| 137 |
+
"economie_pct": 15.3014,
|
| 138 |
+
"economie_kwh": 64790.82,
|
| 139 |
"n_violations": 0,
|
| 140 |
"pct_violations": 0.0,
|
| 141 |
"class_name": "AgentDoubleQLearning",
|
|
|
|
| 143 |
"is_best": false
|
| 144 |
},
|
| 145 |
"Expected SARSA": {
|
| 146 |
+
"economie_pct": 15.2459,
|
| 147 |
+
"economie_kwh": 64555.67,
|
| 148 |
"n_violations": 0,
|
| 149 |
"pct_violations": 0.0,
|
| 150 |
"class_name": "AgentExpectedSARSA",
|
|
|
|
| 152 |
"is_best": false
|
| 153 |
},
|
| 154 |
"Q-Learning UCB": {
|
| 155 |
+
"economie_pct": 17.3558,
|
| 156 |
+
"economie_kwh": 73489.6,
|
| 157 |
"n_violations": 0,
|
| 158 |
"pct_violations": 0.0,
|
| 159 |
"class_name": "AgentQLearningUCB",
|
| 160 |
"reference": "Auer et al. (2002)",
|
| 161 |
+
"is_best": true
|
| 162 |
},
|
| 163 |
"SARSA(λ)": {
|
| 164 |
+
"economie_pct": 15.1972,
|
| 165 |
+
"economie_kwh": 64349.72,
|
| 166 |
"n_violations": 0,
|
| 167 |
"pct_violations": 0.0,
|
| 168 |
"class_name": "AgentSARSALambda",
|
|
|
|
| 170 |
"is_best": false
|
| 171 |
},
|
| 172 |
"Monte Carlo": {
|
| 173 |
+
"economie_pct": 8.151,
|
| 174 |
+
"economie_kwh": 34513.93,
|
| 175 |
"n_violations": 0,
|
| 176 |
"pct_violations": 0.0,
|
| 177 |
"class_name": "AgentMonteCarlo",
|
|
|
|
| 179 |
"is_best": false
|
| 180 |
}
|
| 181 |
},
|
| 182 |
+
"meilleur_agent": "Q-Learning UCB",
|
| 183 |
+
"top_eco_agent": "Q-Learning UCB",
|
| 184 |
+
"n_episodes": 1000,
|
| 185 |
+
"generated_at": "2026-05-21T13:56:19.813317"
|
| 186 |
}
|
resultats_anomalie.json
CHANGED
|
@@ -1,58 +1,58 @@
|
|
| 1 |
{
|
| 2 |
"Isolation Forest": {
|
| 3 |
-
"n_anomalies": "
|
| 4 |
-
"pct_anomalies": "
|
| 5 |
-
"pct_train": "
|
| 6 |
-
"pct_test": "
|
| 7 |
-
"instabilite": "0.
|
| 8 |
-
"accord_metier_%": "
|
| 9 |
},
|
| 10 |
"LOF": {
|
| 11 |
-
"n_anomalies": "
|
| 12 |
-
"pct_anomalies": "
|
| 13 |
-
"pct_train": "
|
| 14 |
-
"pct_test": "
|
| 15 |
-
"instabilite": "0.
|
| 16 |
-
"accord_metier_%": "
|
| 17 |
},
|
| 18 |
"One-Class SVM": {
|
| 19 |
-
"n_anomalies": "
|
| 20 |
-
"pct_anomalies": "
|
| 21 |
-
"pct_train": "
|
| 22 |
-
"pct_test": "
|
| 23 |
-
"instabilite": "0.
|
| 24 |
-
"accord_metier_%": "
|
| 25 |
},
|
| 26 |
"DBSCAN": {
|
| 27 |
-
"n_anomalies": "
|
| 28 |
-
"pct_anomalies": "
|
| 29 |
-
"pct_train": "
|
| 30 |
-
"pct_test": "
|
| 31 |
-
"instabilite": "0.
|
| 32 |
-
"accord_metier_%": "
|
| 33 |
},
|
| 34 |
"Elliptic Envelope": {
|
| 35 |
-
"n_anomalies": "
|
| 36 |
-
"pct_anomalies": "
|
| 37 |
-
"pct_train": "
|
| 38 |
-
"pct_test": "
|
| 39 |
-
"instabilite": "0.
|
| 40 |
-
"accord_metier_%": "
|
| 41 |
},
|
| 42 |
"GMM": {
|
| 43 |
-
"n_anomalies": "
|
| 44 |
-
"pct_anomalies": "
|
| 45 |
-
"pct_train": "
|
| 46 |
-
"pct_test": "
|
| 47 |
-
"instabilite": "0.
|
| 48 |
-
"accord_metier_%": "
|
| 49 |
},
|
| 50 |
"Autoencoder": {
|
| 51 |
-
"n_anomalies": "
|
| 52 |
-
"pct_anomalies": "
|
| 53 |
-
"pct_train": "
|
| 54 |
-
"pct_test": "
|
| 55 |
-
"instabilite": "0.
|
| 56 |
-
"accord_metier_%": "
|
| 57 |
}
|
| 58 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"Isolation Forest": {
|
| 3 |
+
"n_anomalies": "101611",
|
| 4 |
+
"pct_anomalies": "6.44",
|
| 5 |
+
"pct_train": "6.43",
|
| 6 |
+
"pct_test": "6.47",
|
| 7 |
+
"instabilite": "0.05",
|
| 8 |
+
"accord_metier_%": "94.3"
|
| 9 |
},
|
| 10 |
"LOF": {
|
| 11 |
+
"n_anomalies": "110161",
|
| 12 |
+
"pct_anomalies": "6.99",
|
| 13 |
+
"pct_train": "6.86",
|
| 14 |
+
"pct_test": "7.23",
|
| 15 |
+
"instabilite": "0.36",
|
| 16 |
+
"accord_metier_%": "90.4"
|
| 17 |
},
|
| 18 |
"One-Class SVM": {
|
| 19 |
+
"n_anomalies": "104712",
|
| 20 |
+
"pct_anomalies": "6.64",
|
| 21 |
+
"pct_train": "6.63",
|
| 22 |
+
"pct_test": "6.67",
|
| 23 |
+
"instabilite": "0.04",
|
| 24 |
+
"accord_metier_%": "94.1"
|
| 25 |
},
|
| 26 |
"DBSCAN": {
|
| 27 |
+
"n_anomalies": "46874",
|
| 28 |
+
"pct_anomalies": "2.97",
|
| 29 |
+
"pct_train": "2.97",
|
| 30 |
+
"pct_test": "2.97",
|
| 31 |
+
"instabilite": "0.0",
|
| 32 |
+
"accord_metier_%": "97.3"
|
| 33 |
},
|
| 34 |
"Elliptic Envelope": {
|
| 35 |
+
"n_anomalies": "104814",
|
| 36 |
+
"pct_anomalies": "6.65",
|
| 37 |
+
"pct_train": "6.59",
|
| 38 |
+
"pct_test": "6.76",
|
| 39 |
+
"instabilite": "0.16",
|
| 40 |
+
"accord_metier_%": "95.9"
|
| 41 |
},
|
| 42 |
"GMM": {
|
| 43 |
+
"n_anomalies": "98251",
|
| 44 |
+
"pct_anomalies": "6.23",
|
| 45 |
+
"pct_train": "6.23",
|
| 46 |
+
"pct_test": "6.23",
|
| 47 |
+
"instabilite": "0.01",
|
| 48 |
+
"accord_metier_%": "94.8"
|
| 49 |
},
|
| 50 |
"Autoencoder": {
|
| 51 |
+
"n_anomalies": "95176",
|
| 52 |
+
"pct_anomalies": "6.04",
|
| 53 |
+
"pct_train": "5.99",
|
| 54 |
+
"pct_test": "6.13",
|
| 55 |
+
"instabilite": "0.14",
|
| 56 |
+
"accord_metier_%": "91.5"
|
| 57 |
}
|
| 58 |
}
|
resultats_modeles.json
CHANGED
|
@@ -1,51 +1,58 @@
|
|
| 1 |
{
|
| 2 |
"R\u00e9gression Lin\u00e9aire": {
|
| 3 |
-
"r2": 0.
|
| 4 |
-
"mae": 0.
|
| 5 |
-
"rmse": 0.
|
| 6 |
-
"rmse_pct":
|
| 7 |
-
"temps":
|
| 8 |
},
|
| 9 |
"Ridge Regression": {
|
| 10 |
-
"r2": 0.
|
| 11 |
-
"mae": 0.
|
| 12 |
-
"rmse": 0.
|
| 13 |
-
"rmse_pct":
|
| 14 |
-
"temps":
|
| 15 |
},
|
| 16 |
"Random Forest": {
|
| 17 |
-
"r2": 0.
|
| 18 |
-
"mae": 0.
|
| 19 |
-
"rmse": 0.
|
| 20 |
-
"rmse_pct":
|
| 21 |
-
"temps":
|
| 22 |
},
|
| 23 |
"Gradient Boosting": {
|
| 24 |
-
"r2": 0.
|
| 25 |
-
"mae": 0.
|
| 26 |
-
"rmse": 0.
|
| 27 |
-
"rmse_pct":
|
| 28 |
-
"temps":
|
| 29 |
},
|
| 30 |
"Extra Trees": {
|
| 31 |
-
"r2": 0.
|
| 32 |
-
"mae": 0.
|
| 33 |
-
"rmse": 0.
|
| 34 |
-
"rmse_pct": 19.
|
| 35 |
-
"temps":
|
| 36 |
},
|
| 37 |
"XGBoost": {
|
| 38 |
-
"r2": 0.
|
| 39 |
-
"mae": 0.
|
| 40 |
-
"rmse": 0.
|
| 41 |
-
"rmse_pct":
|
| 42 |
-
"temps":
|
| 43 |
},
|
| 44 |
"LightGBM": {
|
| 45 |
-
"r2": 0.
|
| 46 |
-
"mae": 0.
|
| 47 |
-
"rmse": 0.
|
| 48 |
-
"rmse_pct":
|
| 49 |
-
"temps":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
}
|
| 51 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"R\u00e9gression Lin\u00e9aire": {
|
| 3 |
+
"r2": 0.6954866320001932,
|
| 4 |
+
"mae": 0.40106596517703635,
|
| 5 |
+
"rmse": 0.7941948272069866,
|
| 6 |
+
"rmse_pct": 24.54790675695119,
|
| 7 |
+
"temps": 3.4553699493408203
|
| 8 |
},
|
| 9 |
"Ridge Regression": {
|
| 10 |
+
"r2": 0.6956033604116121,
|
| 11 |
+
"mae": 0.4010100280415759,
|
| 12 |
+
"rmse": 0.7940425941753835,
|
| 13 |
+
"rmse_pct": 24.543201359563668,
|
| 14 |
+
"temps": 0.649498701095581
|
| 15 |
},
|
| 16 |
"Random Forest": {
|
| 17 |
+
"r2": 0.8007356286018653,
|
| 18 |
+
"mae": 0.25191062829185046,
|
| 19 |
+
"rmse": 0.6424490621339384,
|
| 20 |
+
"rmse_pct": 19.857570375794463,
|
| 21 |
+
"temps": 3191.0901625156403
|
| 22 |
},
|
| 23 |
"Gradient Boosting": {
|
| 24 |
+
"r2": 0.8002233510304723,
|
| 25 |
+
"mae": 0.252456205962866,
|
| 26 |
+
"rmse": 0.6432743501430408,
|
| 27 |
+
"rmse_pct": 19.883079347146396,
|
| 28 |
+
"temps": 5755.829763889313
|
| 29 |
},
|
| 30 |
"Extra Trees": {
|
| 31 |
+
"r2": 0.8008831061092234,
|
| 32 |
+
"mae": 0.2519355843030571,
|
| 33 |
+
"rmse": 0.642211276716332,
|
| 34 |
+
"rmse_pct": 19.850220624751522,
|
| 35 |
+
"temps": 620.5037322044373
|
| 36 |
},
|
| 37 |
"XGBoost": {
|
| 38 |
+
"r2": 0.8005148405358871,
|
| 39 |
+
"mae": 0.25057819869636805,
|
| 40 |
+
"rmse": 0.6428048854430123,
|
| 41 |
+
"rmse_pct": 19.868568580660405,
|
| 42 |
+
"temps": 47.70547676086426
|
| 43 |
},
|
| 44 |
"LightGBM": {
|
| 45 |
+
"r2": 0.8010071917790376,
|
| 46 |
+
"mae": 0.25040492034613004,
|
| 47 |
+
"rmse": 0.6420111389130349,
|
| 48 |
+
"rmse_pct": 19.844034530400897,
|
| 49 |
+
"temps": 71.80779576301575
|
| 50 |
+
},
|
| 51 |
+
"Baseline Persistance": {
|
| 52 |
+
"r2": 0.4664298947738801,
|
| 53 |
+
"mae": 0.5153992943491533,
|
| 54 |
+
"rmse": 1.051282940926688,
|
| 55 |
+
"rmse_pct": 32.49428820859831,
|
| 56 |
+
"temps": 0.0
|
| 57 |
}
|
| 58 |
}
|
rl_7agents_apprentissage.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
score_stations.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4884dad9f008c4346f2e60b14886e17b07c768f78b3ed540b435ef328ff6b8f
|
| 3 |
+
size 16027
|
shap_bar.png
ADDED
|
shap_beeswarm.png
ADDED
|
Git LFS Details
|
shap_waterfall.png
ADDED
|
streamlit_carte_stations.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d35663aa45d3fdd6d685c7c0e7aada827ffec0e7aa43fd82bfef2c201966a7a6
|
| 3 |
+
size 13711
|
streamlit_data.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52fc99df8eda9275eb782d6c80e7602d59ec836af3d8759b9c093ac0f221d4dd
|
| 3 |
+
size 101176234
|
streamlit_profil_horaire.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9bc6fe27fafb63045169ef75b698c04d5a52e80fb485b22f685e118b8b3fc23
|
| 3 |
+
size 8447
|
streamlit_score_stations.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4884dad9f008c4346f2e60b14886e17b07c768f78b3ed540b435ef328ff6b8f
|
| 3 |
+
size 16027
|
streamlit_timeseries.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e78041c17eb2a3d061b7368e227aaf25cc594b9f9c23679bc91797e832750662
|
| 3 |
+
size 251947
|
tableau_de_bord_complet.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
tsne_anomalies.png
ADDED
|
Git LFS Details
|