|
||||||||||
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.grouplens.GroupLensDataModel
public final class GroupLensDataModel
Constructor Summary | |
---|---|
GroupLensDataModel()
|
|
GroupLensDataModel(java.io.File ratingsFile)
|
Method Summary | |
---|---|
static java.io.File |
readResourceToTempFile(java.lang.String resourceName)
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.mahout.cf.taste.impl.model.file.FileDataModel |
---|
buildModel, determineDelimiter, getDataFile, getDelimiter, getItemIDs, getItemIDsFromUser, getNumItems, getNumUsers, getNumUsersWithPreferenceFor, getPreferencesForItem, getPreferencesFromUser, getPreferenceValue, getUserIDs, hasPreferenceValues, processFile, processFileWithoutID, processLine, processLineWithoutID, readItemIDFromString, readUserIDFromString, refresh, reload, removePreference, setPreference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GroupLensDataModel() throws java.io.IOException
java.io.IOException
public GroupLensDataModel(java.io.File ratingsFile) throws java.io.IOException
ratingsFile
- GroupLens ratings.dat file in its native format
java.io.IOException
- if an error occurs while reading or writing filesMethod Detail |
---|
public static java.io.File readResourceToTempFile(java.lang.String resourceName) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class FileDataModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |