3 writes to _threshold
Microsoft.ML.Data (3)
Scorers\BinaryClassifierScorer.cs (3)
134
_threshold
= args.Threshold;
140
_threshold
= transform._threshold;
155
_threshold
= ctx.Reader.ReadFloat();
7 references to _threshold
Microsoft.ML.Data (7)
Scorers\BinaryClassifierScorer.cs (7)
140
_threshold = transform.
_threshold
;
181
ctx.Writer.Write(
_threshold
);
205
node.AddAttribute("threshold",
_threshold
);
275
value = score >
_threshold
;
280
value = (uint)(score >
_threshold
? 2 : 1);
297
return PfaUtils.If(PfaUtils.Call(">", scoreToken,
_threshold
), trueVal,
298
PfaUtils.If(PfaUtils.Call("<=", scoreToken,
_threshold
), falseVal, nullVal));