Share via


ClassificationPrimaryMetrics Struct

Definition

Primary metrics for classification tasks.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Support.ClassificationPrimaryMetricsTypeConverter))]
public struct ClassificationPrimaryMetrics : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Support.ClassificationPrimaryMetrics>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Support.ClassificationPrimaryMetricsTypeConverter))>]
type ClassificationPrimaryMetrics = struct
    interface IArgumentCompleter
Public Structure ClassificationPrimaryMetrics
Implements IArgumentCompleter, IEquatable(Of ClassificationPrimaryMetrics)
Inheritance
ClassificationPrimaryMetrics
Attributes
Implements

Fields

Accuracy

Accuracy is the ratio of predictions that exactly match the true class labels.

AucWeighted

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.

AveragePrecisionScoreWeighted

The arithmetic mean of the average precision score for each class, weighted by the number of true instances in each class.

NormMacroRecall

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.

PrecisionScoreWeighted

The arithmetic mean of precision for each class, weighted by number of true instances in each class.

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(ClassificationPrimaryMetrics)

Compares values of enum type ClassificationPrimaryMetrics

Equals(Object)

Compares values of enum type ClassificationPrimaryMetrics (override for Object)

GetHashCode()

Returns hashCode for enum ClassificationPrimaryMetrics

ToString()

Returns string representation for ClassificationPrimaryMetrics

Operators

Equality(ClassificationPrimaryMetrics, ClassificationPrimaryMetrics)

Overriding == operator for enum ClassificationPrimaryMetrics

Implicit(ClassificationPrimaryMetrics to String)

Implicit operator to convert ClassificationPrimaryMetrics to string

Implicit(String to ClassificationPrimaryMetrics)

Implicit operator to convert string to ClassificationPrimaryMetrics

Inequality(ClassificationPrimaryMetrics, ClassificationPrimaryMetrics)

Overriding != operator for enum ClassificationPrimaryMetrics

Applies to