[mlpack-svn] [MLPACK] #324: Collaborative filtering package should expect zero-indexed users and items

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Wed Feb 5 22:39:07 EST 2014


#324: Collaborative filtering package should expect zero-indexed users and items
---------------------+------------------------------------------------------
 Reporter:  rcurtin  |        Owner:                                                                        
     Type:  defect   |       Status:  new                                                                   
 Priority:  major    |    Milestone:  mlpack 1.0.9                                                          
Component:  mlpack   |     Keywords:  cf, zero-indexing, one-indexing, users, items, collaborative filtering
 Blocking:           |   Blocked By:                                                                        
---------------------+------------------------------------------------------
 Currently, the CF class expects users and locations to be one-indexed;
 that is, the user and items IDs never take the value 0.  However this
 doesn't really make sense in a programming sense because C++ is a zero-
 indexed language.  So, the CF class (and its documentation) must be
 updated so that it does not assume that 1 is the smallest index; instead,
 the assumption should be that 0 is the smallest index.

 This problem manifests itself mainly in CleanData(), where if you pass '0'
 as a user or item, the method will fail (try it and you'll see what I
 mean).  This was the cause of ticket #232.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/324>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.


More information about the mlpack-svn mailing list