Interface ISplitBasedClassifierEvaluator<O>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      O evaluateSplit​(weka.classifiers.Classifier h, weka.core.Instances trainingData, weka.core.Instances validationData)
      Evaluate a hypothesis h being trained on a set of trainingData for some validationData.
    • Method Detail

      • evaluateSplit

        O evaluateSplit​(weka.classifiers.Classifier h,
                        weka.core.Instances trainingData,
                        weka.core.Instances validationData)
                 throws ai.libs.jaicore.basic.algorithm.exceptions.ObjectEvaluationFailedException,
                        java.lang.InterruptedException
        Evaluate a hypothesis h being trained on a set of trainingData for some validationData.
        Parameters:
        h - The classifier to test for some training and validation data.
        trainingData - The training data to train the classifier on.
        validationData - The test data to validate the classifier on.
        Returns:
        Returns the result of the measured value.
        Throws:
        java.lang.Exception - Throws an Exception if there are issues training or validating the classifier.
        ai.libs.jaicore.basic.algorithm.exceptions.ObjectEvaluationFailedException
        java.lang.InterruptedException