9 references to If
Microsoft.ML.Data (9)
Model\Pfa\PfaUtils.cs (2)
314
elseBlock.Add(
If
(
319
If
(Call("==", "size", 0), jobj.AddReturn("type", arrType).AddReturn("value", new JArray()),
Scorers\BinaryClassifierScorer.cs (2)
297
return PfaUtils.
If
(PfaUtils.Call(">", scoreToken, _threshold), trueVal,
298
PfaUtils.
If
(PfaUtils.Call("<=", scoreToken, _threshold), falseVal, nullVal));
Transforms\KeyToValue.cs (2)
493
outType, PfaUtils.
If
(PfaUtils.Call("<", "key", 0), defaultToken,
498
return PfaUtils.
If
(PfaUtils.Call("<", srcToken, 0), defaultToken, PfaUtils.Index(cellRef, srcToken));
Transforms\KeyToVector.cs (1)
696
arrType, PfaUtils.
If
(PfaUtils.Call(">=", "i", 0),
Transforms\ValueToKeyMappingTransformer.cs (2)
979
PfaUtils.Type.Int, PfaUtils.
If
(PfaUtils.Call("map.containsKey", cellRef, "term"), PfaUtils.Index(cellRef, "term"), -1));
983
return PfaUtils.
If
(PfaUtils.Call("map.containsKey", cellRef, srcToken), PfaUtils.Index(cellRef, srcToken), -1);