LoginSignup
0
4

More than 5 years have passed since last update.

AIで競輪予想 その3

Posted at

AIで競輪予想 その2で、参考にしたページでうまくいかないので、別のやり方を模索。

以下の本を参考にした。


Pythonによるスクレイピング&機械学習 開発テクニック BeautifulSoup,scikit-learn,TensorFlowを使ってみよう

環境準備編

以下の順番で環境設定を行っていきます。
1.AWS(EC2)にubuntuを立ち上げる
2.MySql(5.6.16-1~exp1 (Ubuntu))のインストール
3.Pythonのインストール
4.seleniumのインストール

3.Pythonのインストール

shell
$ apt-get update
$ apt-get install -y python3 python3-pip

4.seleniumのインストール

shell
$ pip3 install selenium

4.BeautifulSoup4のインストール

shell
$ pip3 install beautifulsoup4

5.Phanton.JSのインストール

shell
$ apt-get install -y wget libfontconfig
$ mkdir -p /home/root/src && cd $_
$ wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
$ tar jxvf phantomjs-2.1.1-linux-x86_64.tar.bz2
$ cd cd phantomjs-2.1.1-linux-x86_64/bin/
$ cp phantomjs /usr/local/bin/

6.日本語フォントのインストール

shell
$ apt-get install -y fonts-migmix
0
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
4