zenogantner / MyMediaLite

recommender system library for the CLR (.NET)
http://mymedialite.net
499 stars 192 forks source link

Read item attribute names rather than integers in org.mymedialite.io.ItemData #422

Open jcnewell opened 11 years ago

jcnewell commented 11 years ago

This is a feature request rather than a bug. The file format required by ItemData currently requires item attributes to be represented by integers. A more general approach would allow attribute names which would be mapped to unique integers using the EntityMapping class in the read method. This new approach would be compatible with the existing item attribute file format.