Interface IRankingInstance<O>
-
- All Superinterfaces:
IInstance,ILabeledInstance
- All Known Subinterfaces:
IDyadRankingInstance,ILabelRankingInstance
public interface IRankingInstance<O> extends ILabeledInstance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRanking<O>getLabel()Getter for the value of the target attribute.intgetNumberOfRankedElements()Returns the number of ranked elements in this instance.-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.IInstance
getAttributes, getAttributeValue, getNumAttributes, getPoint, getPointValue, isAttributeValuePresent, removeColumn
-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance
isLabelPresent, setAttributeValue, setLabel
-
-
-
-
Method Detail
-
getLabel
IRanking<O> getLabel()
Description copied from interface:ILabeledInstanceGetter for the value of the target attribute.- Specified by:
getLabelin interfaceILabeledInstance- Returns:
- The value of the target attribute.
-
getNumberOfRankedElements
int getNumberOfRankedElements()
Returns the number of ranked elements in this instance.- Returns:
- The number of ranked elements.
-
-