2 writes to _weightageKind
Microsoft.ML.Ensemble (2)
OutputCombiners\WeightedAverage.cs (2)
56
_weightageKind
= options.WeightageName;
65
_weightageKind
= (WeightageKind)ctx.Reader.ReadInt32();
5 references to _weightageKind
Microsoft.ML.Ensemble (5)
OutputCombiners\WeightedAverage.cs (5)
51
public string WeightageMetricName { get { return
_weightageKind
.ToString(); } }
57
Host.CheckUserArg(Enum.IsDefined(typeof(WeightageKind),
_weightageKind
), nameof(options.WeightageName));
66
Host.CheckDecode(Enum.IsDefined(typeof(WeightageKind),
_weightageKind
));
85
Contracts.Assert(Enum.IsDefined(typeof(WeightageKind),
_weightageKind
));
86
ctx.Writer.Write((int)
_weightageKind
);