Class MLPlanWekaBuilder

  • All Implemented Interfaces:
    ai.libs.mlplan.core.IMLPlanBuilder<ai.libs.jaicore.ml.weka.classification.learner.IWekaClassifier,​MLPlanWekaBuilder>, org.api4.java.common.control.ILoggingCustomizable

    public class MLPlanWekaBuilder
    extends ai.libs.mlplan.core.AMLPlanBuilder<ai.libs.jaicore.ml.weka.classification.learner.IWekaClassifier,​MLPlanWekaBuilder>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MLPlan4Weka build()  
      static MLPlanWekaBuilder forClassification()  
      static MLPlanWekaBuilder forClassificationWithTinySearchSpace()  
      static MLPlanWekaBuilder forRegression()  
      MLPlanWekaBuilder getSelf()  
      MLPlanWekaBuilder withDataset​(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?> dataset)  
      void withLearningCurveExtrapolationEvaluation​(int[] anchorpoints, ai.libs.jaicore.ml.core.filter.sampling.inmemory.factories.interfaces.ISamplingAlgorithmFactory<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>,​? extends ai.libs.jaicore.ml.core.filter.sampling.inmemory.ASamplingAlgorithm<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>>> subsamplingAlgorithmFactory, double trainSplitForAnchorpointsMeasurement, ai.libs.jaicore.ml.functionprediction.learner.learningcurveextrapolation.LearningCurveExtrapolationMethod extrapolationMethod)
      Allows to use learning curve extrapolation for predicting the quality of candidate solutions.
      • Methods inherited from class ai.libs.mlplan.core.AMLPlanBuilder

        build, checkPreconditionsForInitialization, getAlgorithmConfig, getCandidateEvaluationTimeOut, getComponentParameterConfigurations, getComponents, getDataset, getHASCOFactory, getLearnerEvaluationFactoryForSearchPhase, getLearnerEvaluationFactoryForSelectionPhase, getLearnerFactory, getLoggerName, getMetricForSearchPhase, getMetricForSelectionPhase, getNodeEvaluationTimeOut, getPipelineValidityCheckingNodeEvaluator, getPortionOfDataReservedForSelectionPhase, getPreferredComponents, getPreferredNodeEvaluators, getRequestedInterface, getSafeGuardFactory, getSearchEvaluatorFactory, getSearchSelectionDatasetSplitter, getSearchSpaceConfigFile, getSelectionEvaluatorFactory, getTimeOut, getTimeoutPrecautionOffsetInSeconds, setLoggerName, withAlgorithmConfig, withAlgorithmConfigFile, withCandidateEvaluationTimeOut, withDatasetSplitterForSearchSelectionSplit, withLearnerFactory, withMCCVBasedCandidateEvaluationInSearchPhase, withMCCVBasedCandidateEvaluationInSelectionPhase, withNodeEvaluationTimeOut, withNumCpus, withPerformanceMeasure, withPerformanceMeasureForSearchPhase, withPerformanceMeasureForSelectionPhase, withPipelineValidityCheckingNodeEvaluator, withPortionOfDataReservedForSelection, withPreferredComponents, withPreferredComponentsFile, withPreferredNodeEvaluator, withProblemType, withRequestedInterface, withSafeGuardFactory, withSearchFactory, withSearchPhaseEvaluatorFactory, withSearchSpaceConfigFile, withSeed, withSelectionPhaseEvaluatorFactory, withTimeOut, withTimeoutPrecautionOffsetInSeconds
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MLPlanWekaBuilder

        public MLPlanWekaBuilder()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • MLPlanWekaBuilder

        public MLPlanWekaBuilder​(EMLPlanWekaProblemType problemType)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • forClassification

        public static MLPlanWekaBuilder forClassification()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • forRegression

        public static MLPlanWekaBuilder forRegression()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • forClassificationWithTinySearchSpace

        public static MLPlanWekaBuilder forClassificationWithTinySearchSpace()
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • withLearningCurveExtrapolationEvaluation

        public void withLearningCurveExtrapolationEvaluation​(int[] anchorpoints,
                                                             ai.libs.jaicore.ml.core.filter.sampling.inmemory.factories.interfaces.ISamplingAlgorithmFactory<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>,​? extends ai.libs.jaicore.ml.core.filter.sampling.inmemory.ASamplingAlgorithm<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>>> subsamplingAlgorithmFactory,
                                                             double trainSplitForAnchorpointsMeasurement,
                                                             ai.libs.jaicore.ml.functionprediction.learner.learningcurveextrapolation.LearningCurveExtrapolationMethod extrapolationMethod)
        Allows to use learning curve extrapolation for predicting the quality of candidate solutions.
        Parameters:
        anchorpoints - The anchor points for which samples are actually evaluated on the respective data.
        subsamplingAlgorithmFactory - The factory for the sampling algorithm that is to be used to randomly draw training instances.
        trainSplitForAnchorpointsMeasurement - The training fold size for measuring the acnhorpoints.
        extrapolationMethod - The method to be used in order to extrapolate the learning curve from the anchorpoints.
      • withDataset

        public MLPlanWekaBuilder withDataset​(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?> dataset)
        Overrides:
        withDataset in class ai.libs.mlplan.core.AMLPlanBuilder<ai.libs.jaicore.ml.weka.classification.learner.IWekaClassifier,​MLPlanWekaBuilder>
      • build

        public MLPlan4Weka build()
        Overrides:
        build in class ai.libs.mlplan.core.AMLPlanBuilder<ai.libs.jaicore.ml.weka.classification.learner.IWekaClassifier,​MLPlanWekaBuilder>