edu.qut.cs.rcmd.experiment.common
Class RatioBasedTrainingUserExperimentProfileConvertFunction

java.lang.Object
  extended by edu.qut.cs.rcmd.experiment.common.BaseTrainingUserExperimentProfileConvertFunction
      extended by edu.qut.cs.rcmd.experiment.common.RatioBasedTrainingUserExperimentProfileConvertFunction
All Implemented Interfaces:
com.google.common.base.Function<org.apache.mahout.cf.taste.model.PreferenceArray,TrainingUserExperimentProfile>

public class RatioBasedTrainingUserExperimentProfileConvertFunction
extends BaseTrainingUserExperimentProfileConvertFunction


Constructor Summary
RatioBasedTrainingUserExperimentProfileConvertFunction(int minNumberOfPreferences, double trainingPercentage)
           
 
Method Summary
protected  TrainingUserExperimentProfile buildBooleanTrainingUserExperimentProfile(org.apache.mahout.cf.taste.model.PreferenceArray preferenceArray)
           
protected  TrainingUserExperimentProfile buildTrainingUserExperimentProfile(org.apache.mahout.cf.taste.model.PreferenceArray preferenceArray)
           
protected  boolean preferenceArrayFilter(org.apache.mahout.cf.taste.model.PreferenceArray preferenceArray)
           
 
Methods inherited from class edu.qut.cs.rcmd.experiment.common.BaseTrainingUserExperimentProfileConvertFunction
apply, getInstance, isBooleanPreferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

RatioBasedTrainingUserExperimentProfileConvertFunction

public RatioBasedTrainingUserExperimentProfileConvertFunction(int minNumberOfPreferences,
                                                              double trainingPercentage)
Method Detail

buildTrainingUserExperimentProfile

protected TrainingUserExperimentProfile buildTrainingUserExperimentProfile(org.apache.mahout.cf.taste.model.PreferenceArray preferenceArray)
Specified by:
buildTrainingUserExperimentProfile in class BaseTrainingUserExperimentProfileConvertFunction

buildBooleanTrainingUserExperimentProfile

protected TrainingUserExperimentProfile buildBooleanTrainingUserExperimentProfile(org.apache.mahout.cf.taste.model.PreferenceArray preferenceArray)
Specified by:
buildBooleanTrainingUserExperimentProfile in class BaseTrainingUserExperimentProfileConvertFunction

preferenceArrayFilter

protected boolean preferenceArrayFilter(org.apache.mahout.cf.taste.model.PreferenceArray preferenceArray)
Specified by:
preferenceArrayFilter in class BaseTrainingUserExperimentProfileConvertFunction


Copyright © 2012. All Rights Reserved.