Coder Social home page Coder Social logo

cf-movie-recommendation's Introduction

CF-movie-recommendation

An Implementation of the User-based Collaborative Filtering Algorithm.

Abstract

With the universal popularity of the Internet and the gradual maturity of e-commerce, the recommendation algorithm has become a research direction that has received more and more attention. Among the many recommendation algorithms, the user-based collaborative filtering recommendation algorithm is the earliest one, and is one of the widely used recommendation algorithms.

Content

The research of this algorithm consists of five modules, namely data preprocessing module, similarity calculation module, calculation module of neighboring user set, prediction scoring module and evaluation standard module. Four similarity calculation methods are used in the calculation of user similarity, which are Jaccard similarity, Pearson correlation coefficient, Adjusted cosine similarity, Jaccard similarity and Pearson correlation coefficient mixed similarity. Finally, the algorithm using different similarity calculation methods is evaluated using recall rate (Recall) and mean absolute error (MAE).

DataSet

  • MovieLens - 1M

Development language

  • Python 3.6.7

Installation

  • Open the project with Pycharm, run the "recom_app.py" file.
  • Use a browser to access "http://localhost:8080".
  • For training the algorithm, just run the "recom_test.py" file.

cf-movie-recommendation's People

Contributors

name1439 avatar

Watchers

James Cloos 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.