CHAN Chung Hang 22061759S
CHEUNG Ho Bun 22056983S
POON Wing Fung 22056100S
YEUNG Ka Wai 22049550S
This Group Project analyzes the relationship between the number of visitors and the Hong Kong Gross Domestic Product (GDP) across different countries. It aims to determine if there is a significant correlation between visitors and economic performance, utilizing machine learning models for a thorough investigation.
This project uses Poetry for dependency management. It requires:
- Python 3.8 or higher
- Poetry
The pyproject.toml
file in the repository lists all the necessary Python packages.
- Install Homebrew if it's not already installed.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Python using Homebrew.
brew install python
- Install Poetry via Homebrew.
brew install poetry
- Install the project dependencies using Poetry.
poetry install
- Install Python. Ensure you select the option to Add Python to PATH during installation.
- Install Poetry using PowerShell.
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
- Install the project dependencies using Poetry.
poetry install
To run the analysis, use Poetry to handle the environment and dependencies: For macOS and Windows:
poetry run python gdpwithdifferenctcountry.py
This will activate the virtual environment and run the analysis script.
The scripts will generate visualizations and model predictions, comparing the number of visitors to GDP figures and storing the output in specified directories.