bsets, The Bayesian Sets algorithm.

Daichi Mochihashi
NTT Communication Science Laboratories
$Id: index.html,v 1.2 2006/02/15 03:45:22 daiti-m Exp $

bsets is a very simple (almost trivial) implementation of Bayesian Sets (Ghahramani and Heller, 2005) in MATLAB.

Download

Contents

How to use

Example

 % matlab
 >> X = spconvert(load('movielens.dat'));
 >> [alpha,beta] = bsparam(X,2);
 >> s = bsets(X,[64 318],alpha,beta);
 >> bsshow(s,'movie.txt',10);
 318     708.519 Schindler's List (1993)
 64      669.252 Shawshank Redemption, The (1994)
 98      510.812 Silence of the Lambs, The (1991)
 174     455.121 Raiders of the Lost Ark (1981)
 50      451.214 Star Wars (1977)
 357     408.829 One Flew Over the Cuckoo's Nest (1975)
 56      405.752 Pulp Fiction (1994)
 69      398.551 Forrest Gump (1994)
 79      394.869 Fugitive, The (1993)
 172     392.896 Empire Strikes Back, The (1980)
 >>

References

Note


daichi <at> cslab.kecl.ntt.co.jp
Last modified: Thu Feb 25 19:08:50 2010