public class BinaryLabels extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
labelAttribute |
(package private) String |
positive |
(package private) Double |
threshold |
context| Constructor and Description |
|---|
BinaryLabels() |
BinaryLabels(String label) |
BinaryLabels(String label,
String positive) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
String |
getPositive() |
Double |
getThreshold() |
Data |
process(Data data) |
void |
setLabel(String key) |
void |
setPositive(String positive) |
void |
setThreshold(Double threshold) |
finish, init, resetStateString labelAttribute
String positive
Double threshold
public BinaryLabels()
public BinaryLabels(String label)
public Double getThreshold()
public void setThreshold(Double threshold)
threshold - the threshold to setpublic String getLabel()
public void setLabel(String key)
key - the key to setpublic String getPositive()
public void setPositive(String positive)
positive - the positive to setCopyright © 2018. All rights reserved.