Reputation: 16117
I am planning to generate recommendations for the users of my web application. So I decided to use Apache Mahout for it. Most of the tutorials I've seen uses FileDataModel(where the data is stored in a csv file) However my data is in the database.
Is using a FileDataModel for generating user recommendations good enough for a web application that has roughly around 500 to 1000 Users?(I'll just transfer the needed the data from the DB to my CSV file)? or are there any alternatives?
Here are the first and second the tutorials I referred to.
Upvotes: 2
Views: 1837
Reputation: 506
Mahout also has DBDataModels for many other sources, including MongoDBDataModel, and just about any JDBC compliant data source. The flat file data model is also useful for smaller data sets
Upvotes: 0
Reputation:
Preference data can be accessed from the database using JDBCDataModel.
Take a look at MySQLJDBCDataModel
Upvotes: 2