This is the homework repo for UCAS "机器学习导论" course
- Python >=3.12
- uv package manager
-
Install uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh -
Clone and navigate to the repository:
git clone <repository-url> cd MachineLearning
-
Create and activate virtual environment:
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
uv sync
Each exercise is stored in a seperate folder, with a main.py as entry point
To run any of these exercises, just activate the venv, cd into its dir and run main.py. For example:
source .venv/bin/activate
cd ex1-house-price-prediction
python main.py