Official repository for the lab sessions of the course of Machine Learning (Ac. year 2023/2024), taught by Prof. Andrea Passerini (University of Trento).
Make sure to install properly python >3.7
on your device. Then, execute the following installation wth pip:
pip install numpy scipy matplotlib sklearn pandas seaborn
pip install jupyter
Make sure to clone this directory (by copying the link and using git clone <link>
) or download it and unzip it. Then, from your terminal change over the ./sklearn
directory and launch:
jupyter notebook
Make sure everything works as proper (sklearn must be updated to the latest version), otherwise for bugs and other fixes contact me.
We will make use of Google Colab to run the notebook in the folder ./pytorch
. All dependencies must be installed on the colab notebook.
We will make use again of sklearn
for unsupervised learning. All materials can be found in the folder ./unsupervised
. Change directory and launch:
jupyter notebook unsupervised-lab.ipynb
The notebook can be run directly from Google Colab. However, if you want to run it locally, make sure to install the Gymnasium dependency and tqdm:
pip install gymnasium
pip install tqdm