Skip to content

Commit

Permalink
Relecture début partie modélisation KA (#318)
Browse files Browse the repository at this point in the history
* Relec ka 1910 (#314)

* mini modifs webscraping

* mini modifs API

* Relec intro modélisation

* relec TP 0_preprocessing

* 1_modelevalation : intro n'avait pas de rapport avec chapitre

* shap

* box warning

* retire bublio

* Automated changes

* Automated changes

* box

* Automated changes

* Automated changes

* exo 2

* Automated changes

* Automated changes

* box danger

* exo 4

* Automated changes

* Automated changes

* exo 5

* pb

* Automated changes

* Automated changes

* preprocessing

* css

* Automated changes

* Automated changes

* typo

* Automated changes

* Automated changes

* danger

* heading danger

* Automated changes

* Automated changes

* Automated changes

Co-authored-by: Kim A <kim.antunez@ensae.fr>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 2, 2022
1 parent 89d0798 commit f5f0f9c
Show file tree
Hide file tree
Showing 7 changed files with 425 additions and 211 deletions.
33 changes: 27 additions & 6 deletions assets/scss/custom.scss
Expand Up @@ -88,7 +88,9 @@ https://github.com/jupyter/notebook/blob/9de5042e1058dc8aef7632f313e3e86c33390d3
--------------------*/

.alert.alert-info,
.alert.alert-success {
.alert.alert-success,
.alert.alert-danger,
.alert.alert-warning {
/* padding: 1px 0px; */
background-color: white;
}
Expand All @@ -100,22 +102,33 @@ https://github.com/jupyter/notebook/blob/9de5042e1058dc8aef7632f313e3e86c33390d3
.alert-success > .alert-heading {
background-color: #ecf8e8;
}
.alert-warning > .alert-heading {
background-color: #fff6dd;
}
.alert-danger > .alert-heading {
background-color: #dc3545;
}

/* Text color */
.alert-success,
.alert-danger,
.alert-warning,
.alert-info {
color: rgba(0,0,0,.8);
}

/* Space after header */
.alert-success > .alert-heading {
margin-bottom: 15px !important;
}
.alert-info > .alert-heading {
.alert-success > .alert-heading,
.alert-danger > .alert-heading,
.alert-info > .alert-heading,
.alert-warning > .alert-heading {
margin-bottom: 15px !important;
}

.alert-success,
.alert-warning,
.alert-danger,
.alert-info,
.box-exercise,
.box-warning,
.box-caution,
Expand All @@ -125,7 +138,6 @@ https://github.com/jupyter/notebook/blob/9de5042e1058dc8aef7632f313e3e86c33390d3
.box-tip,
.box-important,
.box-note,
.alert-info,
.box-attention{
margin-top: 1em;
margin-bottom: 1em;
Expand All @@ -144,6 +156,9 @@ https://github.com/jupyter/notebook/blob/9de5042e1058dc8aef7632f313e3e86c33390d3
.box-warning {
border-left: .2rem solid #ff0039;
}
.alert-danger {
border-left: .2rem solid #ff0039;
}
.box-caution {
border-left:.2rem solid #fd7e1480;
}
Expand All @@ -159,6 +174,9 @@ https://github.com/jupyter/notebook/blob/9de5042e1058dc8aef7632f313e3e86c33390d3
.box-tip {
border-left:.2rem solid #ffc10780;
}
.alert-warning {
border-left:.2rem solid #ffc10780;
}
.box-important {
border-left:.2rem solid #007bff80;
}
Expand All @@ -168,6 +186,9 @@ https://github.com/jupyter/notebook/blob/9de5042e1058dc8aef7632f313e3e86c33390d3
.box-attention {
border-left:.2rem solid #fd7e1480;
}
.box-exercise {
border-left:.2rem solid #3fb618;
}
.alert-success {
border-left:.2rem solid #3fb618;
}
Expand Down
6 changes: 4 additions & 2 deletions content/course/manipulation/04a_webscraping_TP/index.qmd
Expand Up @@ -275,12 +275,14 @@ Pour cela, nous allons procéder en 6 étapes:
Trouver le tableau

```{python}
#| output: asis
# on identifie le tableau en question : c'est le premier qui a cette classe "wikitable sortable"
tableau_participants = page.find('table', {'class' : 'wikitable sortable'})
```

```{python}
#| output: asis
print(tableau_participants)
```

:two:
Expand Down
1 change: 1 addition & 0 deletions content/course/manipulation/04c_API_TP/index.qmd
Expand Up @@ -384,6 +384,7 @@ Les filtres de sélection complémentaires :
- `nature_mutation` (Vente, etc)
- `type_local` (Maison, Appartement, Local, Dépendance)

Les requêtes sont de la forme : `http://api.cquest.org/dvf?code_commune=29168`.

{{% box status="exercise" title="Exercice" icon="fas fa-pencil-alt" %}}

Expand Down

0 comments on commit f5f0f9c

Please sign in to comment.