Giter Site home page Giter Site logo

shivamkumar001 / recommendation-system-using-geometricmatrix-completion-with-recurrentmulti-graph-neural-networks Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 5.54 MB

Recommendation System by Using Factorized based matrix completion MGCNN+RNN

Python 100.00%
recommender-system multigraph python3 tensorflow chebyshev-filter laplacian fourier-transform lstm cnn

recommendation-system-using-geometricmatrix-completion-with-recurrentmulti-graph-neural-networks's Introduction

Recommendation-System-using-GeometricMatrix-Completion-with-RecurrentMulti-Graph-Neural-Networks

Recommendation System Loss Function of Training and Test

Output of the code M

[[5. 4. 0. ... 5. 0. 0.]

[3. 0. 0. ... 0. 0. 5.]

[4. 0. 0. ... 0. 0. 0.]

...

[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]]

...............................................................................................................................

Otraining

[[1. 1. 0. ... 1. 0. 0.]

[1. 0. 0. ... 0. 0. 1.]

[1. 0. 0. ... 0. 0. 0.]

...

[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]]

..................................................................................................................................

Otest

[[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]

...

[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]

[0. 0. 0. ... 0. 0. 0.]]

.................................................................................................................................................

W_movies

['data' 'ir' 'jc']

............................................................................................................................................

W_users

['data' 'ir' 'jc']

............................................................................................................................................

Number of 0 in M = 1486126

Shape of M = (943, 1682)

Number of 0 in Training = 1506126

Number of 0 in Test = 1566126

Shape of Training = (943, 1682)

Shape of Test = (943, 1682)

Users Shape = (943, 943)

Movies Shape = (1682, 1682)

Number of data samples: (40000.0,)

Number of training samples: (40000.0,)

Number of training + data samples: (80000.0,)

(943, 943)

(943,)

(943, 1682)

[268.17402035 110.0910939 99.37433058 77.97280296 75.07883397

72.27461596 70.24918496 64.19805813 62.87750106 61.96979953]

Initial User Shape (943, 10)

Initial Items Shape (1682, 10)

Original Training Matrix Odata*M

(943, 1682)

Reconstructed Training Matrix initial_W.initial_H.T

Final Matrix of Users and Movies

............................................................................................................................................

Recommend How many top Movies for user: 4

User Id: 65

We will recommend these movies to the user

[197 Nikita (La Femme Nikita) (1990)

355 Client, The (1994)

518 Treasure of the Sierra Madre, The (1948)

185 Blues Brothers, The (1980)

Name: 1, dtype: object]

............................................................................................................................................

Mean of all Ratings: 3.1963606

Shape of final Matrix: (943, 1682)

recommendation-system-using-geometricmatrix-completion-with-recurrentmulti-graph-neural-networks's People

Contributors

shivamkumar001 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.