Amazon EC2
情報源: New P2 Instance Type for Amazon EC2 – Up to 16 GPUs | AWS Blog
sshuttle – Transparent proxy server that works as a poor man’s VPN. Forwards over ssh. Doesn’t require admin. Works with Linux and MacOS. Supports DNS tunneling.
きっかけはSpotifyが日本上陸したけど招待コードが送られてくるのが待てなかった。いい機会だから試してみた。
Ubuntuの公式サイトのチュートリアルでVPNが紹介されていたけどUbuntu16.04では動かなかったのでDigitalOceanのサイトで紹介していたのでやってみたけど失敗。このサイトのコメント欄を見てみると、自動でVPN設定をしてくれるありがたいシェルスクリプトが紹介されていたので試してみたら成功した。
https://github.com/Nyr/openvpn-install
Amazon ec2サーバーを借りて、場所は北カリフォルニア州。通信速度はオレゴン州よりいいらしい。AMIはUbuntu16.04を選択。このAMIはUbuntu公式が公開しているこのURLからAMIIDをコピーペーストして検索して取得した。セキュリティグループ設定はプロトコルはUDP、ポートは1194を開放する
以下のコマンドを実行
sudo apt-get update #ルートで実行 sudo su wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
IPアドレスを聞かれるので、デフォルトで設定されるプライベートアドレスではなくパブリックアドレスを入力する。クライアント名は「testclient」にした。最後まで終えると「/root/testclient.ovpn」が生成されるのでこれをローカルに保存する。
保存したtestclient.ovpnを引数に以下のコマンドでローカルからサーバーに接続する
sudo apt install openvpn sudo openvpn --config testclient.ovpn
ちゃんと機能しているかはこのサイトで確認した
Reproducing images with geometric primitives.
情報源: fogleman/primitive: Reproducing images with geometric primitives.
https://miningoo.com/483
https://miningoo.com/474
http://qiita.com/grachro/items/11e59d16a929d27e274e
https://ja.wikipedia.org/wiki/Wikipedia:%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89
https://dumps.wikimedia.org/jawiki/latest/
http://qiita.com/okappy/items/32a7ba7eddf8203c9fa1
http://qiita.com/shima_x/items/196e8d823412e45680e9
http://hibari1121.blog.fc2.com/blog-entry-53.html
http://satomacoto.blogspot.jp/2015/02/doc2vec.html
http://qiita.com/HirofumiYashima/items/f358228060f5d7a9b67e#_reference-a1f58b0039c7b4b5342b
https://rare-technologies.com/doc2vec-tutorial/
sudo apt-get install mecab libmecab-dev mecab-ipadic sudo apt-get install mecab-ipadic-utf8 sudo apt-get install python-mecab
大変役に立つチュートリアル
その他
Twitter Streaming APIにはREST APIと比べて制限がないらしい
word2vecについて
sequence to sequenceとは
CNNで翻訳
次の一文字を予測するchar-rnn
neuraltalk2とtensorflowのim2txt
テキスト分類
文書分類
レコメンデーションシステム