Class TypelessPredictionDiff

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.evaluation.IPredictionAndGroundTruthTable<java.lang.Object,​java.lang.Object>

    public class TypelessPredictionDiff
    extends PredictionDiff<java.lang.Object,​java.lang.Object>
    This is a helper class with which one can create a prediction diff object without caring about the types of ground truths and predictions. Using the getCastedView method, one can later (in a place where the concrete types are known) get a more specific variant.
    • Constructor Detail

      • TypelessPredictionDiff

        public TypelessPredictionDiff()
      • TypelessPredictionDiff

        public TypelessPredictionDiff​(java.util.List<?> groundTruths,
                                      java.util.List<?> predictions)