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; 181ctx.Writer.Write(_threshold); 205node.AddAttribute("threshold", _threshold); 275value = score > _threshold; 280value = (uint)(score > _threshold ? 2 : 1); 297return PfaUtils.If(PfaUtils.Call(">", scoreToken, _threshold), trueVal, 298PfaUtils.If(PfaUtils.Call("<=", scoreToken, _threshold), falseVal, nullVal));