public static class TopNNDCGMetric.Spec
extends java.lang.Object
Specification for configuring nDCG metrics.
Constructor and Description |
---|
Spec() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnName() |
java.lang.String |
getDiscount() |
java.lang.String |
getGainAttribute() |
Discount |
getParsedDiscount() |
void |
setColumnName(java.lang.String name) |
void |
setDiscount(java.lang.String discount) |
void |
setGainAttribute(java.lang.String attr) |
public java.lang.String getColumnName()
public void setColumnName(java.lang.String name)
public java.lang.String getDiscount()
public void setDiscount(java.lang.String discount)
public java.lang.String getGainAttribute()
public void setGainAttribute(java.lang.String attr)
public Discount getParsedDiscount()