Skip to content

An empirical comparison between classical matrix factorization and deep learning assisted matrix factorization for solving collaborative filtering tasks

License

Notifications You must be signed in to change notification settings

ivallesp/deep_matrix_factorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Factorization problem

In this repository, a classical matrix factorization algorithm has been implemented using numpy and optimizing the Mean Squared Error using Stochastic Gradient Descent. As it is a linear method, an additional version using Deep Learning techniques has been implemented in order to improve the system performance, concluding that the MSE can be decreased by an 8.5% using a very simple neural network.

Getting started

Both algorithms results over a sample dataset are shown in the jupyter notebook located in ./notebooks/example.ipynb.

Experiments can be reproduced by following the notebook. For running the code the following dependencies are needed

  • Pandas
  • Numpy
  • Tensorflow
  • Python 3.6

Results

Matrix Factorization results

mse_mf

Deep Factorization results

mse_df

License

This repository is licensed with MIT agreement. Copyright (c) 2018 Iván Vallés Pérez

For more information, please, check the LICENSE file.

About

An empirical comparison between classical matrix factorization and deep learning assisted matrix factorization for solving collaborative filtering tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published