Skip to content

xingweitian/ece656-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ece656-project

Student Information

Name Student ID Email
Boyun Zhang 20754791 boyun.zhang@uwaterloo.ca
Weitian Xing 20757406 weitian.xing@uwaterloo.ca

Project Information

  • 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.

Tutorial

There are two main parts in our project, server and client. To start with this project, please follow the steps below:

Preparement

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"
}

Run

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published