Skip to content

StevenRice99/COMP-8720

Repository files navigation

COMP-8720 Advanced AI: Representation Learning

Assignments for the graduate course COMP-8720 Advanced AI: Representation Learning at the University of Windsor.

Getting Started

  • Python 3.12 was used for these assignments.
  • It is recommended you install packages in a virtual environment using a tool such as uv or pip rather than globally in case different Python projects require different versions of packages.
    • All required packages are in requirements.txt which can be installed by:
      • uv - uv pip install -r requirements.
      • pip - pip install -r requirements.

Running

  • Simply run the script for the corresponding assignment or the final project. Once done, result CSV files will be in the Results, model parameters in the Parameters folder, and figures in the Figures folder. Additionally, there are a few helper scripts.

Assignment 3

Assignment three, unlike the other assignments, was done across multiple scripts. Inside the assingment_3 folder, go into the src folder and run any of task1.py, task2.py, or task3.py scripts, or open and run Modern-Hopfield.ipynb. The results and plots will be in their respective sub folders.

common.py

  • Contains common functions for use across assignments.

clear.py

  • Manually delete the generated datasets along with deleting the Figures, Parameters, and Results folders.