File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/course/modelisation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -458,13 +458,13 @@ La **normalisation** est l'action de transformer les données de manière à obt
458
458
459
459
** Exercice 4 : Normalisation**
460
460
461
- 1 . Normaliser la variable ` median_earnings_2010_dollars ` (ne pas écraser les valeurs !) et regarder l'histogramme avant/après normalisation.
461
+ 1 . Normaliser la variable ` Median_Household_Income_2019 ` (ne pas écraser les valeurs !) et regarder l'histogramme avant/après normalisation.
462
462
463
463
``` {python normalisation}
464
464
#| include: false
465
465
#| echo: false
466
466
467
- # 1. Normalisation de median_earnings_2010_dollars et histogrammes
467
+ # 1. Normalisation de Median_Household_Income_2019 et histogrammes
468
468
scaler = preprocessing.Normalizer().fit(df2.dropna(how = "any").head(1000))
469
469
X1 = scaler.transform(df2.dropna(how = "any").head(1000))
470
470
You can’t perform that action at this time.
0 commit comments