イントロ - Reinforcement Learning(強化学習)勉強メモ
Reinforcement Learning の勉強メモ。毎日追記していく予定。前提知識 Neural Network の基礎。back prop まで。
colab でプッシュ通知
colab で2-3時間の training を動かしているときにプッシュ通知があると便利。 training 終了や例外がでたときにスマホにプッシュ通知が来るようにできる。
https://www.pushbullet.com/ を設定・アプリインストール。API Key を発行。こんなに簡単にプッシュ通知が実現。API Key は秘密にすべきなので Google Drive におくのが良いでしょう。
!pip install pushbullet.py
from pushbullet import Pushbullet pb = Pushbullet('api_key') push = pb.push_note("This is the title", "This is the body")
learning rate リストア問題
Colab で長時間トレーニングしていると、必ず途中でトレーニングを止めてレストアする必要が出てくる。そのときに training_rate をうまく restore する方法。
Twitter Conversation Crawler
Wrote twitter_conversation_crawler to get training data for Seq2Seq base chatbot.