@kyanny's blog

My thoughts, my life. Views/opinions are my own.

Kaggle: [30 Days of ML] Day 5

今日の課題。倍増した。昨日は疲れて寝てしまって翌日にやっている。

  1. Read this tutorial (from Lesson 4 of the Python course)
  2. Complete this exercise (from Lesson 4 of the Python course)
  3. Read this tutorial (from Lesson 5 of the Python course)
  4. Complete this exercise (from Lesson 5 of the Python course)

スロットマシンは、n_runs = 一千万回くらいにしても 0.025 より結構外れた値が出る。一億回まであげるとループ回数が多すぎて、何十秒も反応が返ってこない。

リスト内包表記の書き方が、なんかすんなり頭に入った気がする。前に勉強したときや、仕事で使ってたときですら、文法(for とか in とかをどこに置くのか)が覚えられなかったのに。