T - the type of instance.public interface Instance<T>
| Modifier and Type | Method and Description |
|---|---|
default int |
label()
Returns the class label of instance.
|
default java.lang.String |
name()
Return the (optional) name associated with instance.
|
default double |
weight()
Return the (optional) weight associated with instance.
|
T |
x()
Returns the instance.
|
default double |
y()
Returns the response variable of instance.
|
T x()
default double y()
default int label()
default java.lang.String name()
default double weight()