|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mymedialite.io.ItemDataRatingThreshold
public class ItemDataRatingThreshold
Class that contains static methods for reading in implicit feedback data for ItemRecommender.
Method Summary | |
---|---|
static IPosOnlyFeedback |
read(java.io.BufferedReader reader,
double rating_threshold,
IEntityMapping user_mapping,
IEntityMapping item_mapping,
boolean ignore_first_line)
Read in rating data which will be interpreted as implicit feedback data from a TextReader. |
static IPosOnlyFeedback |
read(java.lang.String filename,
double rating_threshold,
IEntityMapping user_mapping,
IEntityMapping item_mapping,
boolean ignore_first_line)
Read in rating data which will be interpreted as implicit feedback data from a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IPosOnlyFeedback read(java.lang.String filename, double rating_threshold, IEntityMapping user_mapping, IEntityMapping item_mapping, boolean ignore_first_line) throws java.io.IOException
filename
- name of the file to be read fromrating_threshold
- the minimum rating value needed to be accepted as positive feedbackuser_mapping
- user item_mapping
- item ignore_first_line
- if true, ignore the first line
java.io.IOException
public static IPosOnlyFeedback read(java.io.BufferedReader reader, double rating_threshold, IEntityMapping user_mapping, IEntityMapping item_mapping, boolean ignore_first_line) throws java.lang.Exception
reader
- the TextReader to be read fromrating_threshold
- the minimum rating value needed to be accepted as positive feedbackuser_mapping
- user item_mapping
- item ignore_first_line
- if true, ignore the first line
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |