public class HLUtilityPredictMetric extends AbstractTestUserMetric
| Modifier and Type | Class and Description |
|---|---|
class |
HLUtilityPredictMetric.Accum |
| Constructor and Description |
|---|
HLUtilityPredictMetric() |
HLUtilityPredictMetric(double newAlpha) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getColumnLabels()
Get labels for the aggregate columns output by this evaluator.
|
java.util.List<java.lang.String> |
getUserColumnLabels()
Get labels for the per-user columns output by this evaluator.
|
HLUtilityPredictMetric.Accum |
makeAccumulator(Attributed algo,
TTDataSet ds)
Create a result accumulator for a single row for this evaluation.
|
finalRow, userRowfinishEvaluation, getCurrentEvaluation, startEvaluationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinishEvaluation, startEvaluationpublic HLUtilityPredictMetric(double newAlpha)
public HLUtilityPredictMetric()
public HLUtilityPredictMetric.Accum makeAccumulator(Attributed algo, TTDataSet ds)
TestUserMetricOne accumulator is created and used per evaluation (data set × algorithmInfo).
Individual accumulators do not need to be thread-safe, but it must be possible to have multiple accumulators in separate threads in use concurrently.
algo - The algorithmInfo to be evaluated.ds - The data set being evaluated — used if the evaluator needs something
from it (such as the preference domain).public java.util.List<java.lang.String> getColumnLabels()
TestUserMetricpublic java.util.List<java.lang.String> getUserColumnLabels()
TestUserMetricTestUserMetricAccumulator.evaluate(org.grouplens.lenskit.eval.traintest.TestUser)