mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chee Kin Lim <>
Subject SlopeOneRecommender and MySQLJDBCDataModel in RecommenderBuilder Implementation
Date Wed, 14 Dec 2011 12:04:26 GMT
Hi there,

I am writing a Grails plugin for mahout recommender (collaborative
filtering) at the moment. As I am beginner of mahout, I have some doubt for
the implementation of RecommenderBuilder for SlopeOneRecommender and

Please see the code at
In line 40, I am getting the MySQLJDBCDataModel externally instead of using
the 'dataModel' argument of buildRecommender method.

The reason I do so is I have a hard time to cast the dataModel of
buildRecommender method to appropriate class which use to instantiate
object. Is this solution (getting MySQLJDBCDataModel externally)
appropriate? Kindly let's me know if you have better and more appropriate

Thanks in advanced.

Best regards,
Chee Kin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message