Partager via


Classifier Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<Classifier>
      • com.microsoft.azure.cognitiveservices.vision.customvision.training.models.Classifier

public class Classifier

Defines values for Classifier.

Field Summary

Modifier and Type Field and Description
final Classifier MULTICLASS

Static value Multiclass for Classifier.

final Classifier MULTILABEL

Static value Multilabel for Classifier.

Method Summary

Modifier and Type Method and Description
Classifier fromString(String name)

Creates or finds a Classifier from its string representation.

Collection<Classifier> values()

Field Details

MULTICLASS

public static final Classifier MULTICLASS= fromString("Multiclass")

Static value Multiclass for Classifier.

MULTILABEL

public static final Classifier MULTILABEL= fromString("Multilabel")

Static value Multilabel for Classifier.

Method Details

fromString

public static Classifier fromString(String name)

Creates or finds a Classifier from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding Classifier

values

public static Collection values()

Returns:

known Classifier values

Applies to