public static class PrecisionRecallTopNMetric.Builder extends TopNMetricBuilder<PrecisionRecallTopNMetric>
candidates, exclude, listSize, prefix, suffix| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PrecisionRecallTopNMetric |
build() |
ItemSelector |
getGoodItems() |
void |
setGoodItems(ItemSelector goodItems)
Set the set of items that will be considered ‘good’ by the evaluation.
|
getCandidates, getExclude, getListSize, getPrefix, getSuffix, setCandidates, setExclude, setListSize, setPrefix, setSuffixpublic ItemSelector getGoodItems()
public void setGoodItems(ItemSelector goodItems)
goodItems - A selector for good items.public PrecisionRecallTopNMetric build()
build in interface org.apache.commons.lang3.builder.Builder<PrecisionRecallTopNMetric>build in class TopNMetricBuilder<PrecisionRecallTopNMetric>