ModelTaskType Class

public final class ModelTaskType
extends ExpandableStringEnum<ModelTaskType>

Model task type enum.

Field Summary

Modifier and Type Field and Description
static final ModelTaskType CLASSIFICATION

Static value Classification for ModelTaskType.

static final ModelTaskType REGRESSION

Static value Regression for ModelTaskType.

Constructor Summary

Constructor Description
ModelTaskType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ModelTaskType value.

Method Summary

Modifier and Type Method and Description
static ModelTaskType fromString(String name)

Creates or finds a ModelTaskType from its string representation.

static Collection<ModelTaskType> values()

Gets known ModelTaskType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLASSIFICATION

public static final ModelTaskType CLASSIFICATION

Static value Classification for ModelTaskType.

REGRESSION

public static final ModelTaskType REGRESSION

Static value Regression for ModelTaskType.

Constructor Details

ModelTaskType

@Deprecated
public ModelTaskType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ModelTaskType value.

Method Details

fromString

public static ModelTaskType fromString(String name)

Creates or finds a ModelTaskType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ModelTaskType.

values

public static Collection<ModelTaskType> values()

Gets known ModelTaskType values.

Returns:

known ModelTaskType values.

Applies to