GithubHelp home page GithubHelp logo

mrthat / ipm3f Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chokkyvista/ipm3f

0.0 2.0 0.0 36.72 MB

Source code and data for the paper "Nonparametric Max-Margin Matrix Factorization for Collaborative Prediction" accepted to NIPS'2012 and "Fast Max-Margin Matrix Factorization with Data Augmentation" accepted to ICML'2013

Home Page: http://books.nips.cc/papers/files/nips25/NIPS2012_0037.pdf

MATLAB 19.24% C 8.79% C++ 71.97%

ipm3f's Introduction

To run iPM3F (M3F and iBPM3F likewise):
1. set working dir in MATLAB to iPM3F

2. load data
  >> load('../data/MovieLens-1M.mat');

3. a little bit configuration [OPTIONAL]
  >> % defaults to 'weak' & 'no validation'
  >> weakopts = []; % for the 'weak' setting
  >> validid = 1; % use the 1st validation set

4. compile mex-files and initialize
  >> init;

5. set range for regularization constant tuning [OPTIONAL]
  >> % defaults to the entire range
  >> rid_s = 1; rid_t = numel(regvals); % tune all the candidate values

6. turn on parallel computing and logging [OPTIONAL]
  >> matlabpool open <your_profile>;
  >> diary(fullfile(savedir, 'log.txt'));

7. train the model and test performance
  >> train_ipm3f;

8. turn off parallel computing and logging [OPTIONAL]
  >> diary off;
  >> matlabpool close;

Put together:
>> cd iPM3F;
>> load('../data/MovieLens-1M.mat');
>> init;
>> train_ipm3f;

To run GiPM3F or GM3F, you may need to download daSVM
(https://github.com/chokkyvista/daSVM)
as well and put it at the same level as the iPM3F root directory:
- daSVM
- iPM3F
    |- GM3F
    |- GiPM3F
    |- IBP
    |- common
    |- data

ipm3f's People

Contributors

chokkyvista avatar

Watchers

 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.