Downloads · 30 days
18
3% of all-time downloads
keras-io/Node2Vec_MovieLens
Node2Vec_MovieLens is a machine learning model from keras-io. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tf-keras.
This model demonstrates the Node2Vec technique on the small version of the Movielens dataset to learn movie embeddings.
Downloads · 30 days
18
3% of all-time downloads
All-time downloads
532
Public
Repo size
411 KB
Likes
3
Public
Click a slice to open those files.
.data-00000-of-00001283 KB · 68%
From the Hugging Face model README
This model demonstrates the Node2Vec technique on the small version of the Movielens dataset to learn movie embeddings.
Node2Vec is a simple, yet scalable and effective technique for learning low-dimensional embeddings for nodes in a graph by optimising a neighbourhood-preserving objective. The aim is to learn similar embeddings for neighbouring nodes, with respect to the graph structure. Given your data items structured as a graph (where the items are represented as nodes and the relationship between items are represented as edges), node2vec works as follows:
This model is an example of applying Node2Vec technique on the small version of the Movielens dataset to learn movie embeddings. Such a dataset can be represented as a graph by treating the movies as nodes, and creating edges between movies that have similar ratings by the users. The learnt movie embeddings can be used for tasks such as movie recommendation, or movie genres prediction.
For more information on Node2Vec, please refer to its host page
Our skip-gram is a simple binary classification model that works as follows:

Author: Khalid Salama.
Based on the following Keras example Graph representation learning with node2vec by Khalid Salama
Check out the demo space here