Class MLPlanWekaBuilder
- java.lang.Object
-
- ai.libs.mlplan.core.AMLPlanBuilder<ai.libs.jaicore.ml.weka.classification.learner.IWekaClassifier,MLPlanWekaBuilder>
-
- ai.libs.mlplan.multiclass.wekamlplan.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>
-
-
Constructor Summary
Constructors Constructor Description MLPlanWekaBuilder()MLPlanWekaBuilder(EMLPlanWekaProblemType problemType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MLPlan4Wekabuild()static MLPlanWekaBuilderforClassification()static MLPlanWekaBuilderforClassificationWithTinySearchSpace()static MLPlanWekaBuilderforRegression()MLPlanWekaBuildergetSelf()MLPlanWekaBuilderwithDataset(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?> dataset)voidwithLearningCurveExtrapolationEvaluation(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
-
-
-
-
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:
withDatasetin classai.libs.mlplan.core.AMLPlanBuilder<ai.libs.jaicore.ml.weka.classification.learner.IWekaClassifier,MLPlanWekaBuilder>
-
getSelf
public MLPlanWekaBuilder getSelf()
-
build
public MLPlan4Weka build()
- Overrides:
buildin classai.libs.mlplan.core.AMLPlanBuilder<ai.libs.jaicore.ml.weka.classification.learner.IWekaClassifier,MLPlanWekaBuilder>
-
-