generated from allisonhorst/meds-distill-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
lab4b_examples.Rmd
27 lines (21 loc) · 2.32 KB
/
lab4b_examples.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: "Lab 4b. Deep Learning - Keras Examples"
editor_options:
chunk_output_type: console
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = F)
```
In today's lab you'll run through introductory examples with the most common types of response variables, i.e. targets, from *Deep Learning with R/Python*.
- 3.4 🍿 Movies (binary classification)\
Classify movie reviews (`dataset_imdb()`) as positive or negative.\
R: [html](./lab4b_3.4.movies.html), [Rmd](https://raw.githubusercontent.com/bbest/eds232-ml/main/lab4b_3.4.movies.Rmd) ; Python: [html](https://github.com/bbest/deep-learning-with-python-notebooks/blob/master/first_edition/3.5-classifying-movie-reviews.ipynb), [ipynb](https://github.com/bbest/deep-learning-with-python-notebooks/raw/master/first_edition/3.5-classifying-movie-reviews.ipynb)
- 3.5 📰 Newswires (multi-class classification)\
Classify news wires (`dataset_reuters()`) by topic.\
R: [html](./lab4b_3.5.newswires.html), [Rmd](https://raw.githubusercontent.com/bbest/eds232-ml/main/lab4b_3.5.newswires.Rmd); Python: [html](https://github.com/bbest/deep-learning-with-python-notebooks/blob/master/first_edition/3.6-classifying-newswires.ipynb), [ipynb](https://github.com/bbest/deep-learning-with-python-notebooks/raw/master/first_edition/3.6-classifying-newswires.ipynb)
- 3.6 🏠 House prices (regression)\
Estimate the price of a house (`dataset_boston_housing()`), given real-estate data.\
R: [html](./lab4b_3.6.houseprices.html), [Rmd](https://raw.githubusercontent.com/bbest/eds232-ml/main/lab4b_3.6.houseprices.Rmd); Python: [html](https://github.com/bbest/deep-learning-with-python-notebooks/blob/master/first_edition/3.7-predicting-house-prices.ipynb), [ipynb](https://github.com/bbest/deep-learning-with-python-notebooks/raw/master/first_edition/3.7-predicting-house-prices.ipynb)
- 4.4 🍿 Overfitting and underfitting\
Refine movie review classification model.\
R: [html](./lab4b_4.4.overfitting.html), [Rmd](https://raw.githubusercontent.com/bbest/eds232-ml/main/lab4b_4.4.overfitting.Rmd); Python: [html](https://github.com/bbest/deep-learning-with-python-notebooks/blob/master/first_edition/4.4-overfitting-and-underfitting.ipynb), [ipynb](https://github.com/bbest/deep-learning-with-python-notebooks/raw/master/first_edition/4.4-overfitting-and-underfitting.ipynb)