Share via


Goal Struct

Definition

Defines supported metric goals for hyperparameter tuning

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

Fields

Maximize
Minimize

Methods

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

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

Equals(Goal)

Compares values of enum type Goal

Equals(Object)

Compares values of enum type Goal (override for Object)

GetHashCode()

Returns hashCode for enum Goal

ToString()

Returns string representation for Goal

Operators

Equality(Goal, Goal)

Overriding == operator for enum Goal

Implicit(Goal to String)

Implicit operator to convert Goal to string

Implicit(String to Goal)

Implicit operator to convert string to Goal

Inequality(Goal, Goal)

Overriding != operator for enum Goal

Applies to