Sunday, 30 August 2015

Mahout: FileDataModel

FileDataModel is used to encapsulate recommender data stored in a file. Each line in the file must follow below format.

userID,itemID[,preference[,timestamp]]

userID and itemId are long values.
preference is a double value, it is optional.
Timestamp is a long value.

An empty line, or one that begins with '#' will be ignored as a comment.

Note:
All the items in the file must express no preference, or the all must.

Go through “First Recommender Engineexample.

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment