Skip to content

Instantly share code, notes, and snippets.

@flrd
flrd / gist:3c381183b9ffc2912d05e5b8b05b18e1
Last active September 30, 2018 11:32
R Keras Tutorial on time series prediction
# for the tutorial see: https://blogs.rstudio.com/tensorflow/posts/2017-12-20-time-series-forecasting-with-recurrent-neural-networks/
# download and import the data
dir.create("~/Downloads/jena_climate", recursive = TRUE)
download.file(
"https://s3.amazonaws.com/keras-datasets/jena_climate_2009_2016.csv.zip",
"~/Downloads/jena_climate/jena_climate_2009_2016.csv.zip"
)
unzip(
"~/Downloads/jena_climate/jena_climate_2009_2016.csv.zip",