1 write to Pfa
Microsoft.ML.Data (1)
Model\Pfa\BoundPfaContext.cs (1)
52
Pfa
= new PfaContext(_host);
25 references to Pfa
Microsoft.ML.Data (25)
Model\Pfa\BoundPfaContext.cs (17)
92
Pfa
.InputType = field["type"];
96
Pfa
.InputType = recordType;
151
Pfa
.OutputType = lastType;
152
Pfa
.Final = lastToken;
153
return
Pfa
.Finalize();
159
Pfa
.OutputType = recordType;
160
Pfa
.Final = expr;
162
return
Pfa
.Finalize();
178
return ModelUtils.CreateNameCore("temp",
Pfa
.ContainsVar);
181
return ModelUtils.CreateNameCore(name,
Pfa
.ContainsVar);
186
return ModelUtils.CreateNameCore(name, n => n != exclude &&
Pfa
.ContainsVar(n));
191
return ModelUtils.CreateNameCore(name,
Pfa
.ContainsCell);
217
Pfa
.AddVariables(vars);
230
if (!
Pfa
.ContainsFunc(baseName))
233
while (
Pfa
.ContainsFunc(baseName + i))
245
_host.Assert(!
Pfa
.ContainsCell(cellName));
246
Pfa
.AddCell(cellName, type, init);
Transforms\KeyToValue.cs (1)
492
ctx.
Pfa
.AddFunc(funcName, new JArray(PfaUtils.Param("key", PfaUtils.Type.Int)),
Transforms\KeyToVector.cs (2)
688
if (!ctx.
Pfa
.ContainsFunc(funcName))
694
ctx.
Pfa
.AddFunc(funcName,
Transforms\NormalizeColumnDbl.cs (2)
767
srcToken = PfaUtils.Call("a.zipmap", srcToken, offsetCell, PfaUtils.FuncRef(ctx.
Pfa
.EnsureSub(itemType)));
769
return PfaUtils.Call("a.zipmap", srcToken, scaleCell, PfaUtils.FuncRef(ctx.
Pfa
.EnsureMul(itemType)));
Transforms\NormalizeColumnSng.cs (2)
924
srcToken = PfaUtils.Call("a.zipmap", srcToken, offsetCell, PfaUtils.FuncRef(ctx.
Pfa
.EnsureSub(itemType)));
926
return PfaUtils.Call("a.zipmap", srcToken, scaleCell, PfaUtils.FuncRef(ctx.
Pfa
.EnsureMul(itemType)));
Transforms\ValueToKeyMappingTransformer.cs (1)
978
ctx.
Pfa
.AddFunc(funcName, new JArray(PfaUtils.Param("term", PfaUtils.Type.String)),