edu.qut.cs.rcmd.experiment.common
Class RatioBasedTrainingUserExperimentProfileConvertFunction
java.lang.Object
edu.qut.cs.rcmd.experiment.common.BaseTrainingUserExperimentProfileConvertFunction
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
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 |
RatioBasedTrainingUserExperimentProfileConvertFunction
public RatioBasedTrainingUserExperimentProfileConvertFunction(int minNumberOfPreferences,
double trainingPercentage)
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.