Class PredictionBatch
- java.lang.Object
-
- ai.libs.jaicore.ml.core.evaluation.PredictionBatch
-
- All Implemented Interfaces:
org.api4.java.ai.ml.core.evaluation.IPredictionBatch
- Direct Known Subclasses:
RankingPredictionBatch
public class PredictionBatch extends java.lang.Object implements org.api4.java.ai.ml.core.evaluation.IPredictionBatch
-
-
Constructor Summary
Constructors Constructor Description PredictionBatch(I[] predictions)PredictionBatch(java.util.List<? extends org.api4.java.ai.ml.core.evaluation.IPrediction> predictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.api4.java.ai.ml.core.evaluation.IPredictionget(int index)intgetNumPredictions()java.util.List<? extends org.api4.java.ai.ml.core.evaluation.IPrediction>getPredictions()
-
-
-
Method Detail
-
getPredictions
public java.util.List<? extends org.api4.java.ai.ml.core.evaluation.IPrediction> getPredictions()
- Specified by:
getPredictionsin interfaceorg.api4.java.ai.ml.core.evaluation.IPredictionBatch
-
getNumPredictions
public int getNumPredictions()
- Specified by:
getNumPredictionsin interfaceorg.api4.java.ai.ml.core.evaluation.IPredictionBatch
-
get
public org.api4.java.ai.ml.core.evaluation.IPrediction get(int index)
- Specified by:
getin interfaceorg.api4.java.ai.ml.core.evaluation.IPredictionBatch
-
-