This project is part of NTU CE4041 Course Project.
- This project works on Python 3.6.x 64-bit version.
If you want to train neural network and XGBoost tree model, you need these 2 requirements below. Otherwise, you do not need these requirements.
- Tensorflow with GPU support - follow this instruction
- XGBoost (with python package) - follow this instruction
-
Install
virtualenv
package:pip install virtualenv
-
Create virtual environment
virtualenv venv
-
Activate the created virtual environment
- Using Git Bash (reccommended):
. venv/Scripts/activate
- Using Command Prompt:
venv\Scripts\activate.bat
-
Install requirements:
- If Tensorflow is installed with GPU suport:
pip install -r requirements.txt
- else:
pip install -r light-requirements.txt
- Double click
start.bat
. Default browser should be opened with Jupyter Notebook. - Open
./src/AllState.ipynb
-
Activate virtualenv
-
Use command:
jupyter notebook
Default browser should be opened with Jupyter Notebook.
-
Open
./src/AllState.ipynb
- html files are available in
./html
folder - There are 2 print out versions: with GPU and without GPU versions
One-Hot-Encoding