Skip to content

Business War Policy Exploration-AI project for CS181 in Shanghaitech

License

Notifications You must be signed in to change notification settings

rhfeiyang/CS181-AI-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a course project of CS181 of ShanghaiTech University.

Usage

To run our application, please switch to branch master. The main branch is our proposal and slides.

requirements

requirement files are at code/requirements.txt.

Usage

git switch master
cd ./code
pip install -r requirements.txt 
python main.py --numTraining 40000 --numGames 100 --agent MCQApproximateQAgent --rival GreedySellerHigh --initBalance 20 --consumerName Tom Jerry

it works well with Python 3.11.3

Arguments

  • numTraining
  • numGames
  • record
  • weightFile
  • agent
  • expType
  • rival
  • consumerName
  • saveFileName
  • initBalance
  • dailyCost
  • dailyIncome
  • maxDay
  • highPrice
  • mediumPrice
  • lowPrice
  • superLowPrice

For neural network (perceptron) usage

git switch nn_predict
cd ./code
python ./main.py 1

To use multithread testing,

git switch nn_predict
cd ./code
chmod +x excute.sh
./excute.sh

switch back to master if you need.

About

Business War Policy Exploration-AI project for CS181 in Shanghaitech

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published