Skip to content

Commit

Permalink
modify README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ttakuya committed Apr 11, 2018
1 parent 4c62831 commit f2c2950
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,54 @@ B5変/366ページ/本体価格3,000円+税
ISBN978-4-7741-9647-3
技術評論社、2018年発行


## 各言語の前処理実行方法

### SQLの前処理実行

1. AWS Redshiftの準備
- https://aws.amazon.com/jp/redshift/getting-started/
2. SQL Workbench/J を使用して、Redshiftに接続
- https://docs.aws.amazon.com/ja_jp/redshift/latest/mgmt/connecting-using-workbench.html
3. AWS S3の準備
- https://aws.amazon.com/jp/s3/
4. S3にデータをアップロード
- dataフォルダ配下のcsvをs3上にアップロード
5. DDLを実行
- preprocess/load_data/ddl配下のDDLのSQLにAWSのKey情報を設定し、実行
6. 各前処理の実行
- preprocessフォルダ配下の前処理コードを実行

### Rの前処理実行

1. Rのインストール
- https://www.r-project.org/
2. RStudioのインストール
- https://www.rstudio.com/products/rstudio/
3. RStudioの起動
- インストールしたRStudioを起動
4. WorkinkDirectoryの設定
- ```setwd('awesomebook_codeのパス')```
5. コードに必要なパッケージをインストール
- ```install.packages('パッケージ名')```
6. 各前処理の実行
- preprocessフォルダ配下の前処理コードを実行


### Pythonの前処理実行

1. Python3のインストール
- https://www.python.org/
2. PyCharmのインストール
- https://www.jetbrains.com/pycharm/
3. PyCharmの起動
- インストールしたPyCharmを起動
4. ターミナルからpipコマンドを実行して、コードに必要なライブラリをインストール
- ```pip3 install ライブラリ名```
5. 各前処理の実行
- preprocessフォルダ配下の前処理コードを実行


## 目次

- はじめに
Expand Down

0 comments on commit f2c2950

Please sign in to comment.