2016-11-14 Poisson分布の再生性(Reproductive property)の証明とシミュレーション 確率・統計 Python Share on Tumblr Poisson分布の再生性(Reproductive property)の証明とシミュレーション Poisson分布の再生性(Reproductive property)の証明のメモ. Poisson分布の再生性(Reproductive property)の証明とシミュレーション ポアソン分布の再生性の証明 再生性のシミュレーション 環境 参考リンク 続きを読む
2016-11-13 hatenaブログにmathjax を埋め込む 数式 Mathjax Share on Tumblr hatenaブログにmathjax を埋め込む hatenaブログにmathjaxをCDNで埋め込むメモ. hatenaブログにmathjax を埋め込む mathjax の埋め込み メリット・デメリット メリット デメリット 参考リンク 関連リンク 続きを読む
2016-06-03 言語処理100本ノック 3章後半メモ(正規表現) 言語処理100本ノック Python Jupyter Share on Tumblr 言語処理100本ノック 3章後半メモ(正規表現) 25-29番まで。 言語処理100本ノック 3章後半メモ(正規表現) 環境 3章(後半)メモ 参考リンク 関連リンク 環境 Windows 10 conda 4.07 python 3.5.1 jupyter 4.1.0 続きを読む
2016-05-14 言語処理100本ノック 3章前半メモ(正規表現) 学習 Jupyter 言語処理100本ノック Python Share on Tumblr 言語処理100本ノック 3章前半メモ(正規表現) 20-24番まで。 言語処理100本ノック 3章前半メモ(正規表現) 環境 3章メモ 参考リンク 関連リンク 環境 Windows 10 conda 4.05 python 3.5.1 jupyter 4.1.0 続きを読む
2016-05-09 言語処理100本ノック 2章メモ(Unixコマンドの基礎編) Jupyter Python 言語処理100本ノック Share on Tumblr 言語処理100本ノック 2章メモ(Unixコマンドの基礎編) Unix環境がないので、Windows powershell で試してみました。 言語処理100本ノック 2章メモ(Unixコマンドの基礎編) 環境 2章メモ 参考リンク 関連リンク 環境 Windows 10 conda 4.05 python 3.5.1 jupyter 4.1.0 続きを読む
2016-05-07 言語処理100本ノック 1章メモ(準備運動編) Jupyter Python 言語処理100本ノック Share on Tumblr 言語処理100本ノック 1章メモ(準備運動編) 全部やるのは辛いと思う(とくに後半)ので、4章までを目標にぼちぼちやっていきたいと思います。 どの業界にもこういうスタイルのテキストがあると、 初心者は勉強になりますねー。 言語処理100本ノック 1章メモ(準備運動編) 環境 1章メモ 参考リンク 環境 Jupyter + iPython で進めていきます。 問題文をmarkdowonで載せておいて、 コードの実行結果も載せられるので、かなり相性いいと思います。 Windows 10 conda 4.05 python 3.5.1 jupyter 4.1.0 続きを読む
2016-05-06 Python (NumPy) でLifeGame を作る3[matplotlibで可視化] matplotlib Python Jupyter Share on Tumblr Python (NumPy) でLifeGame を作る3[matplotlibで可視化] 行列を表示しても見づらいので、matplotlibで可視化してみました。 前回: cartman0.hatenablog.com Python (NumPy) でLifeGame を作る3[matplotlibで可視化] 環境 コード 実行例 Tテトロミノ ミツバチの巣箱(beehive) 参考リンク 関連リンク 環境 Windows 10 conda 4.05 python 3.5.1 jupyter 4.1.0 matplotlib 1.5 続きを読む
2016-05-04 matplotlib のanimation を保存 Jupyter Python matplotlib Share on Tumblr matplotlib のanimation を保存 matplotlib のグラフは、 matplotlib.animation を使うことでアニメーションにすることできる。 そのアニメーション(動画)の保存についてメモ。 matplotlib のanimation を保存 環境 matplotlib.animation の保存 mp4の場合 gif の場合 実行例 参考リンク 環境 Windows 10 conda 4.05 python 3.5.1 matplotlib 1.5.1 jupyter 4.1.0 続きを読む
2016-05-03 Python (NumPy) でLifeGame を作る2 [class] Jupyter NumPy Python Share on Tumblr Python (NumPy) でLifeGame を作る2[class] 前回作ったものをclass にしてみました。 cartman0.hatenablog.com Python (NumPy) でLifeGame を作る2[class] 環境 コード 実行例 参考リンク 関連リンク 環境 Windows 10 conda 4.05 python 3.5.1 jupyter 4.1.0 続きを読む
2016-05-03 Python (NumPy) でLifeGame を作る NumPy Python Jupyter Share on Tumblr Python (NumPy) でLifeGame を作る NumPyの使い方わかってきたし、せっかくなのでLifeGame を作ってみます。 Python (NumPy) でLifeGame を作る 環境 LifeGameって何? ライフゲームのルールと実装 セル ルール1:生存 ルール2:誕生 ルール3:死亡 ルールをまとめる 処理の実行 実行例 コード 参考リンク 環境 Windows 10 conda 4.05 python 3.5.1 jupyter 4.1.0 続きを読む