Package ai.libs.mlplan.cli.module.slc
Class AMLPlan4ClassificationCLIModule
- java.lang.Object
-
- ai.libs.mlplan.cli.module.AMLPlanCLIModule
-
- ai.libs.mlplan.cli.module.slc.AMLPlan4ClassificationCLIModule
-
- All Implemented Interfaces:
IMLPlanCLIModule
- Direct Known Subclasses:
MLPlan4ScikitLearnClassificationCLIModule,MLPlan4WekaClassificationCLIModule
public abstract class AMLPlan4ClassificationCLIModule extends AMLPlanCLIModule implements IMLPlanCLIModule
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAMLPlan4ClassificationCLIModule(java.util.List<java.lang.String> subModules, java.lang.String defaultModule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureLoss(org.apache.commons.cli.CommandLine cl, org.api4.java.ai.ml.core.dataset.schema.attribute.ICategoricalAttribute labelAtt, ai.libs.mlplan.core.AMLPlanBuilder builder)org.api4.java.ai.ml.core.dataset.schema.attribute.ICategoricalAttributegetLabelAttribute(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset fitDataset)java.lang.StringgetRunReportAsString(org.api4.java.ai.ml.core.learner.ISupervisedLearner learner, org.api4.java.ai.ml.core.evaluation.execution.ILearnerRunReport runReport)-
Methods inherited from class ai.libs.mlplan.cli.module.AMLPlanCLIModule
getDefaultPerformanceMeasure, getDefaultSettingOptionValue, getPerformanceMeasures, getSettingOptionValues
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ai.libs.mlplan.cli.module.IMLPlanCLIModule
getDefaultPerformanceMeasure, getDefaultSettingOptionValue, getMLPlanBuilderForSetting, getPerformanceMeasure, getPerformanceMeasures, getSettingOptionValues
-
-
-
-
Method Detail
-
configureLoss
protected void configureLoss(org.apache.commons.cli.CommandLine cl, org.api4.java.ai.ml.core.dataset.schema.attribute.ICategoricalAttribute labelAtt, ai.libs.mlplan.core.AMLPlanBuilder builder)
-
getLabelAttribute
public org.api4.java.ai.ml.core.dataset.schema.attribute.ICategoricalAttribute getLabelAttribute(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset fitDataset)
-
getRunReportAsString
public java.lang.String getRunReportAsString(org.api4.java.ai.ml.core.learner.ISupervisedLearner learner, org.api4.java.ai.ml.core.evaluation.execution.ILearnerRunReport runReport)- Specified by:
getRunReportAsStringin interfaceIMLPlanCLIModule
-
-