C# 클래스 MyMediaLite.RatingPrediction.Prediction

Class that contains static methods for rating prediction
파일 보기 프로젝트 열기: zenogantner/MML-KDD

공개 메소드들

메소드 설명
WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, TextWriter writer ) : void

Rate a given set of instances and write it to a TextWriter

WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string filename ) : void

Rate a given set of instances and write it to a file

WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string line_format, TextWriter writer ) : void

Rate a given set of instances and write it to a TextWriter

WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string line_format, string filename ) : void

Rate a given set of instances and write it to a file

메소드 상세

WritePredictions() 공개 정적인 메소드

Rate a given set of instances and write it to a TextWriter
public static WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, TextWriter writer ) : void
recommender IRatingPredictor rating predictor
ratings IRatings test cases
user_mapping IEntityMapping an object for the user IDs
item_mapping IEntityMapping an object for the item IDs
writer System.IO.TextWriter the TextWriter to write the predictions to
리턴 void

WritePredictions() 공개 정적인 메소드

Rate a given set of instances and write it to a file
public static WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string filename ) : void
recommender IRatingPredictor rating predictor
ratings IRatings test cases
user_mapping IEntityMapping an object for the user IDs
item_mapping IEntityMapping an object for the item IDs
filename string the name of the file to write the predictions to
리턴 void

WritePredictions() 공개 정적인 메소드

Rate a given set of instances and write it to a TextWriter
public static WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string line_format, TextWriter writer ) : void
recommender IRatingPredictor rating predictor
ratings IRatings test cases
user_mapping IEntityMapping an object for the user IDs
item_mapping IEntityMapping an object for the item IDs
line_format string a format string specifying the line format; {0} is the user ID, {1} the item ID, {2} the rating
writer System.IO.TextWriter the TextWriter to write the predictions to
리턴 void

WritePredictions() 공개 정적인 메소드

Rate a given set of instances and write it to a file
public static WritePredictions ( IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string line_format, string filename ) : void
recommender IRatingPredictor rating predictor
ratings IRatings test cases
user_mapping IEntityMapping an object for the user IDs
item_mapping IEntityMapping an object for the item IDs
line_format string a format string specifying the line format; {0} is the user ID, {1} the item ID, {2} the rating
filename string the name of the file to write the predictions to
리턴 void