Yeah it is so read-intensive that it's not really feasible to run off a database directly. You need to load it in memory (LoadFromJDBCDataModel) or as Ted says deploy some caching and wait for it to warm up (CachingItemSimilarity, CachingUserSimilarity, CachingRecommender).
On Mon, Dec 26, 2011 at 4:12 PM, deneche abdelhakim <[email protected]> wrote: > I am trying to run an item based recommender on movielens 100k example, > I'am looping through a quarter of the items calling > recommender.getMostSimilarItems(10) for each of them. The FileDataModel > takes no more than 5s but the MySQLJDBCDataModel requires more than 300s. > Is this expected ?
