Please feel free to get in touch. This workshop was created and hosted by Leon Eyrich Jessen.
This is the GitHub repository for the Workshop: “Artificial neural networks in R with Keras and TensorFlow” at The second annual R/Pharma conference held August 21, 22, and 23, 2019, Harvard University, Cambridge, US
Everything you need to know can be found at the RStudio page on R Interface to TensorFlow. Here you can also find more on keras, with examples and invited blog posts
- Go to https://rstudio.cloud/ (Create an account if you do not have one)
- Find the button “New Project” and click the arrow down symbol
- Choose “New Project from Git Repo”
- In the “URL of your Git repository”, enter https://github.com/leonjessen/RPharma2019 and click “OK”
- “Deploying Project” will now appear and after some time a new session is loaded
- Name your project in the upper left corner, where it says “Your Workspace / Untitled Project <- Click to name you project”
- In the lower right pane, you will now see all the workshop materials
- Run the following commands in the console (left pane) to setup software environment:
install.packages("tidyverse")
install.packages("devtools")
devtools::install_github("rstudio/keras")
library(keras)
install_keras()
- Return to https://github.com/leonjessen/RPharma2019, find and follow “Schedule Wednesday August 21st 2019”
- Have fun!
At the workshop, the aim is to briefly introduce the participants to the theory of artificial neural networks and the follow this up with a series of interchanging brief talks and longer exercises aiming at building inital hands on experience. The schedule is as follows:
(Please note the html preview currently seem not be functioning. All slides are available under ‘Talks’ in your RStudio session. Left-click on the .html file and choose ‘View in Web Browser’)
-
(08.40 - 08.55) Brief talk: Introduction to Artificial Neural Networks
-
(08.55 - 09.20) Exercise: Prototyping an ANN in R
-
(09.20 - 09.25) Brief talk: Introduction to TensorFlow/Keras in R 1
-
(09.25 - 09.45) Exercise: TensorFlow Playground
-
(09.45 - 10.00) Brief talk: Introduction to TensorFlow/Keras in R 2
-
(10.00 - 10.10) Brief talk: Session 1 Summary and Q&A
-
(10.10 - 10.30) Coffee Break
-
(10.30 - 11.00) Exercise: Hello Keras (Classification)
-
(11.00 - 11.15) Brief talk: A bit more on Keras
-
(11.15 - 11.45) Exercise: Predicting Price (regression)
-
(11.45 - 12.15) Exercise: Deep Learning for Cancer Immunotherapy
-
(12.15 - 12.30) Brief talk: Session 2 Summary and Q&A