|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.cf.taste.impl.model.file.FileDataModel
org.apache.mahout.cf.taste.example.jester.JesterDataModel
public final class JesterDataModel
Constructor Summary | |
---|---|
JesterDataModel()
|
|
JesterDataModel(java.io.File ratingsFile)
|
Method Summary | |
---|---|
protected DataModel |
buildModel()
|
protected void |
processLine(java.lang.String line,
FastByIDMap<?> rawData,
boolean fromPriorData)
|
void |
reload()
|
Methods inherited from class org.apache.mahout.cf.taste.impl.model.file.FileDataModel |
---|
determineDelimiter, getDataFile, getDelimiter, getItemIDs, getItemIDsFromUser, getNumItems, getNumUsers, getNumUsersWithPreferenceFor, getPreferencesForItem, getPreferencesFromUser, getPreferenceValue, getUserIDs, hasPreferenceValues, processFile, processFileWithoutID, processLineWithoutID, readItemIDFromString, readUserIDFromString, refresh, removePreference, setPreference, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JesterDataModel() throws java.io.IOException
java.io.IOException
public JesterDataModel(java.io.File ratingsFile) throws java.io.IOException
ratingsFile
- Jester ratings file in CSV format
java.io.IOException
- if an error occurs while reading or writing filesMethod Detail |
---|
public void reload()
reload
in class FileDataModel
protected DataModel buildModel() throws java.io.IOException
buildModel
in class FileDataModel
java.io.IOException
protected void processLine(java.lang.String line, FastByIDMap<?> rawData, boolean fromPriorData)
processLine
in class FileDataModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |