Main repository for AI-related projects and notebooks. Find four Python notebooks graded 30 during our master degree AI4ST.
- Introduction
- Recommender System from Scratch
- Explainable AI
- Graph Representation Learning
- Attention-based Recommender System
This repository contains a collection of notebooks and projects related to AI, including recommender systems, explainable AI, graph representation learning, and attention mechanisms.
Implementation of a recommender system from scratch, covering the basics of collaborative filtering, content-based filtering, and hybrid approaches.
- Build a recommender system from scratch
- Implement GMF and MLP
- Implement Neural Collaborative Filtering
- Movielens Dataset: 100,000 ratings from 1000 users on 1700 movies
- Embedded user and item vectors using GMF and MLP
- Concatenation of user and item vectors
- Fully connected layers for prediction
Exploration of explainable AI techniques, including model interpretability and feature importance, using libraries such as LIME and SHAP.
- Implement MLP model with more features
- Explain the model using LIME and/or SHAP
- Movielens Dataset: 100,000 ratings from 1000 users on 1700 movies
- Merging of data and preprocessing
- Reconstruction of dataset and functions
- MLP model with more features
- Explanation of model using LIME and SHAP
Application of graph representation learning to movie recommendation, using Node2Vec.
- Graphs representation for movie
- Find the most similar movies to a target movie
- Movielens Dataset: 100,000 ratings from 1000 users on 1700 movies
- Construction of graph based on dataset
- Training of Word2Vec model
- Representation of 5 most similar movies
Implementation of an attention-based recommender system, using a multi-head attention layer to enhance model performance.
- Build a multi-head attention layer
- Compare model performance with and without attention
- Movielens Dataset: 100,000 ratings from 1000 users on 1700 movies
- Addition of attention layer after embedding and computation layers
- Concatenation of different heads for output representation
- Comparison of model performance with and without attention
AI_presentation.pdf: A presentation summarizing the key concepts and findings of the projects in this repository.