RNNとかLSTMとかよく分からんうちに終わった・・・ud187のLESSON 8 Time Series Forecasting - らんだむな記憶くらいから見はじめたから相当な時間がかかっちゃったなぁ・・・。
あぁこの講師は
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systemsの著者か・・・。
同書のjupyter notebookはhttps://github.com/ageron/handson-ml2かな。
Colab経由でGoogle Driveにcloneするなら以下などでできる:
from google.colab import drive drive.mount('/content/drive')
! cd "/content/drive/My Drive/Colab Notebooks" && git clone https://github.com/ageron/handson-ml2.git
これは以下のように書いても良いらしい。
%%bash cd "/content/drive/My Drive/Colab Notebooks" git clone https://github.com/ageron/handson-ml2.git
examples/l08c07_forecasting_with_stateful_rnn.ipynb at master · tensorflow/examples · GitHub辺りは EarlyStopping
と ModelCheckpoint
のサンプルにもなっている。