Name | Student ID | |
---|---|---|
Boyun Zhang | 20754791 | boyun.zhang@uwaterloo.ca |
Weitian Xing | 20757406 | weitian.xing@uwaterloo.ca |
- Using lahman2016 as the data set of our project, Mysql as the database.
- Using flask as the backend framework.
- Using decision tree as the mining algorithm, analyze whether the rank of all star player will effect the player to enter hall of fame.
There are two main parts in our project, server and client. To start with this project, please follow the steps below:
Download our project:
git clone https://github.com/xingweitian/ece656-project.git
Install all the requirements:
python3 -m pip install -r requirements.txt
Edit db.json (You can find it in project_folder/server/, make sure you already had lahman2016 in your Mysql):
{
"host": "your db host",
"port": "your db port",
"user": "user name",
"password": "user password",
"db": "lahman2016"
}
To run server:
python3 run.py -s 127.0.0.1:8000
To run client:
python3 run.py -c
To see help:
python3 run.py --help