Skip to content

Commit

Permalink
Encore une erreur de nom de colonne (#192)
Browse files Browse the repository at this point in the history
* maj nom colonne

* Automated changes

* Automated changes

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
linogaliana and github-actions[bot] committed Dec 7, 2021
1 parent 81b7023 commit 65cecdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/course/modelisation/0_preprocessing.Rmd
Expand Up @@ -458,13 +458,13 @@ La **normalisation** est l'action de transformer les données de manière à obt

**Exercice 4 : Normalisation**

1. Normaliser la variable `median_earnings_2010_dollars` (ne pas écraser les valeurs !) et regarder l'histogramme avant/après normalisation.
1. Normaliser la variable `Median_Household_Income_2019` (ne pas écraser les valeurs !) et regarder l'histogramme avant/après normalisation.

```{python normalisation}
#| include: false
#| echo: false
# 1. Normalisation de median_earnings_2010_dollars et histogrammes
# 1. Normalisation de Median_Household_Income_2019 et histogrammes
scaler = preprocessing.Normalizer().fit(df2.dropna(how = "any").head(1000))
X1 = scaler.transform(df2.dropna(how = "any").head(1000))
Expand Down

0 comments on commit 65cecdd

Please sign in to comment.