Hi Jamey, On 29.11.2011, at 18:32, Jamey Wood wrote:
> It seems a bit surprising that there is no method along these lines in > DataModel (or some subclass thereof): > > setPreference(long userID, long itemID, float value, long time) > > Am I just overlooking something? Yes you do, here you go: https://builds.apache.org/job/Mahout-Quality/javadoc/org/apache/mahout/cf/taste/model/DataModel.html#getPreferenceTime(long, long) Actually this does not support multiple times like Reratings or multiple User Interactions. Nevertheless you get the preference time. > Are you always expected to just go in > "under the covers" of some DataModel's implementation details to do this > (such as a raw SQL insert for a JDBC-based DataModel)? > > Thanks, > Jamey /Manuel -- Manuel Blechschmidt Dortustr. 57 14467 Potsdam Mobil: 0173/6322621 Twitter: http://twitter.com/Manuel_B
