This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 必要パッケージのインストール | |
sudo apt-get install git gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev | |
# pyenvのインストール | |
cd | |
git clone git://github.com/yyuu/pyenv.git ${HOME}/.pyenv | |
cat << EOF >> ${HOME}/.profile | |
export PYENV_ROOT=\${HOME}/.pyenv | |
export PATH=\${PYENV_ROOT}/bin:\${PATH} | |
eval "\$(pyenv init -)" | |
EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
filename="sampledata.csv" | |
rmax=5000 | |
pmax=150 | |
echo "" > $filename | |
for ((i=0; i < $rmax; i++)); do | |
row="${i}," | |
for ((j=0; j < $pmax; j++)); do | |
row="$row$(($RANDOM % 50))," | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 先にDocker community edition for windowsを下記URLからダウンロードしてインストール | |
# https://store.docker.com/editions/community/docker-ce-desktop-windows | |
# jupyterの入ったdockerイメージをダウンロード | |
docker pull jupyter/datascience-notebook | |
# dockerでjupyter notebookを起動 | |
docker run -d -p 8888:8888 -v "$(pwd):/home/jovyan/work" jupyter/datascience-notebook start-notebook.sh --NotebookApp.token='' |
OlderNewer