water.automl.api.schemas3.StepDefinitionV99 Maven / Gradle / Ivy
package water.automl.api.schemas3;
import ai.h2o.automl.StepDefinition;
import ai.h2o.automl.StepDefinition.Alias;
import ai.h2o.automl.StepDefinition.Step;
import water.api.API;
import water.api.EnumValuesProvider;
import water.api.Schema;
public final class StepDefinitionV99 extends Schema {
public static final class StepV99 extends Schema {
@API(help="The id of the step (must be unique per step provider).", direction=API.Direction.INOUT)
public String id;
@API(help="The group of execution of the given step (groups are executed in ascending order of priority)." +
"Steps with group=0 are skipped. Defaults to -1 to use the default group assigned to the step id.",
direction=API.Direction.INOUT)
public int group = Step.DEFAULT_GROUP;
@API(help="The relative weight for the given step (can impact time and/or number of models allocated for this step). " +
"Steps with weight=0 are skipped. Defaults to -1 to use the default weight assigned to the step id.",
direction=API.Direction.INOUT)
public int weight = Step.DEFAULT_WEIGHT;
}
public static final class AliasProvider extends EnumValuesProvider {
public AliasProvider() {
super(Alias.class);
}
}
@API(help="Name of the step provider (usually, this is also the name of an algorithm).", direction=API.Direction.INOUT)
public String name;
@API(help="An alias representing a predefined list of steps to be executed.", valuesProvider=AliasProvider.class, direction=API.Direction.INOUT)
public Alias alias;
@API(help="The list of steps to be executed (Mutually exclusive with alias).", direction=API.Direction.INOUT)
public StepV99[] steps;
}