Giter VIP home page Giter VIP logo

recsys.jl's Introduction

RecSys

Build Status

RecSys.jl is an implementation of the ALS-WR algorithm from "Yunhong Zhou, Dennis Wilkinson, Robert Schreiber and Rong Pan. Large-Scale Parallel Collaborative Filtering for the Netflix Prize. Proceedings of the 4th international conference on Algorithmic Aspects in Information and Management. Shanghai, China pp. 337-348, 2008"

Usage

  • Install: Pkg.clone("https://github.com/abhijithch/RecSys.jl.git")
  • Specify the training dataset in one of several ways:
    • Use delimited (CSV) file with columns: user_id, item_id, ratings. E.g.: trainingset = DlmFile("ratings.csv", ',', true).
    • Use a MAT file, specifying the file and entry name. E.g.: trainingset = MatFile("ratings.mat", "training")
    • Provide an implementation of FileSpec for any other format.
  • Initialize: als = ALSWR(trainingset)
  • Train: train(als, num_iterations, num_factors, lambda)
  • Check model quality:
    • rmse(als) to check against training dataset
    • rmse(als, testdataset) to check against a test dataset
    • and repeat training with different parameters till satisfactory
  • Save model: save(als, filename)
  • Load model: als = load(filename)
  • Get recommendations:
    • recommend(als, user_id) for an existing user
    • recommend(als, user_ratings) for a new/anonymous user

Examples

See examples for more details:

recsys.jl's People

Contributors

abhijithch avatar domarps avatar lkuper avatar raghuch avatar shashi avatar suranah avatar tanmaykm avatar thirumalakiran avatar viralbshah 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.