All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.machinelearningservices.enums.ClassificationPrimaryMetrics Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.machinelearningservices.enums;

import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;

    /**
     * Primary metric for Text-Classification task.
     * 
     */
    @EnumType
    public enum ClassificationPrimaryMetrics {
        /**
         * AUC is the Area under the curve.
         * This metric represents arithmetic mean of the score for each class,
         * weighted by the number of true instances in each class.
         * 
         */
        AUCWeighted("AUCWeighted"),
        /**
         * Accuracy is the ratio of predictions that exactly match the true class labels.
         * 
         */
        Accuracy("Accuracy"),
        /**
         * Normalized macro recall is recall macro-averaged and normalized, so that random
         * performance has a score of 0, and perfect performance has a score of 1.
         * 
         */
        NormMacroRecall("NormMacroRecall"),
        /**
         * The arithmetic mean of the average precision score for each class, weighted by
         * the number of true instances in each class.
         * 
         */
        AveragePrecisionScoreWeighted("AveragePrecisionScoreWeighted"),
        /**
         * The arithmetic mean of precision for each class, weighted by number of true instances in each class.
         * 
         */
        PrecisionScoreWeighted("PrecisionScoreWeighted");

        private final String value;

        ClassificationPrimaryMetrics(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public java.lang.String toString() {
            return new StringJoiner(", ", "ClassificationPrimaryMetrics[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy