// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.machinelearning.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Primary metrics for classification multilabel tasks. */
public final class ClassificationMultilabelPrimaryMetrics
    extends ExpandableStringEnum<ClassificationMultilabelPrimaryMetrics> {
    /** Static value AUCWeighted for ClassificationMultilabelPrimaryMetrics. */
    public static final ClassificationMultilabelPrimaryMetrics AUCWEIGHTED = fromString("AUCWeighted");

    /** Static value Accuracy for ClassificationMultilabelPrimaryMetrics. */
    public static final ClassificationMultilabelPrimaryMetrics ACCURACY = fromString("Accuracy");

    /** Static value NormMacroRecall for ClassificationMultilabelPrimaryMetrics. */
    public static final ClassificationMultilabelPrimaryMetrics NORM_MACRO_RECALL = fromString("NormMacroRecall");

    /** Static value AveragePrecisionScoreWeighted for ClassificationMultilabelPrimaryMetrics. */
    public static final ClassificationMultilabelPrimaryMetrics AVERAGE_PRECISION_SCORE_WEIGHTED =
        fromString("AveragePrecisionScoreWeighted");

    /** Static value PrecisionScoreWeighted for ClassificationMultilabelPrimaryMetrics. */
    public static final ClassificationMultilabelPrimaryMetrics PRECISION_SCORE_WEIGHTED =
        fromString("PrecisionScoreWeighted");

    /** Static value IOU for ClassificationMultilabelPrimaryMetrics. */
    public static final ClassificationMultilabelPrimaryMetrics IOU = fromString("IOU");

    /**
     * Creates a new instance of ClassificationMultilabelPrimaryMetrics value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ClassificationMultilabelPrimaryMetrics() {
    }

    /**
     * Creates or finds a ClassificationMultilabelPrimaryMetrics from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ClassificationMultilabelPrimaryMetrics.
     */
    @JsonCreator
    public static ClassificationMultilabelPrimaryMetrics fromString(String name) {
        return fromString(name, ClassificationMultilabelPrimaryMetrics.class);
    }

    /**
     * Gets known ClassificationMultilabelPrimaryMetrics values.
     *
     * @return known ClassificationMultilabelPrimaryMetrics values.
     */
    public static Collection<ClassificationMultilabelPrimaryMetrics> values() {
        return values(ClassificationMultilabelPrimaryMetrics.class);
    }
}
