9 references to DeclareVar
Microsoft.ML.Data (6)
Model\Pfa\ICanSavePfa.cs (2)
32
/// <see cref="BoundPfaContext.
DeclareVar
(string, JToken)"/> to declare themselves,
112
/// save the expression, through <see cref="BoundPfaContext.
DeclareVar
(string, JToken)"/>,
Prediction\Calibrator.cs (2)
364
scoreToken = ctx.
DeclareVar
(score, scoreExpression);
373
probToken = ctx.
DeclareVar
(prob, probExpression);
Scorers\PredictedLabelScorerBase.cs (1)
360
ctx.
DeclareVar
(derivedName, predictedLabelExpression);
Scorers\SchemaBindablePredictorWrapper.cs (1)
337
ctx.
DeclareVar
(outputNames[0], scoreToken);
Microsoft.ML.StandardTrainers (3)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (3)
655
rootObjects.Add(ctx.
DeclareVar
(null, pred.SaveAsPfa(ctx, input)));
787
var resultVar = ctx.
DeclareVar
(null, rootResult);
788
var factorVar = ctx.
DeclareVar
(null, PfaUtils.Call("/", 1.0, PfaUtils.Call("a.sum", resultVar)));