Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added scripts so people can run this in conda easily #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions create_conda_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

ENV_NAME="deepcredit"

conda create -n ${ENV_NAME} -y

conda install -n ${ENV_NAME} python==3.6 pip ipykernel -y

source activate ${ENV_NAME}

python -m ipykernel install --user --name ${ENV_NAME} --display-name "${ENV_NAME}"

pip install -r requirements.txt

jupyter lab default-prediction.ipynb

#jupyter kernelspec uninstall ${ENV_NAME} -y

#source deactivate

#conda env remove -n ${ENV_NAME} -y
21 changes: 21 additions & 0 deletions create_conda_env_and_clean_after_quit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

ENV_NAME="deepcredit"

conda create -n ${ENV_NAME} -y

conda install -n ${ENV_NAME} python==3.6 pip ipykernel -y

source activate ${ENV_NAME}

python -m ipykernel install --user --name ${ENV_NAME} --display-name "${ENV_NAME}"

pip install -r requirements.txt

jupyter lab default-prediction.ipynb

jupyter kernelspec uninstall ${ENV_NAME} -y

source deactivate

conda env remove -n ${ENV_NAME} -y
485 changes: 297 additions & 188 deletions default-prediction.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions output.html

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ pytz
datetime
numpy
pandas
xlrd
sklearn
patsy
xgboost
keras
matplotlib
tensorflow
pyclustering