1 write to _pred
Microsoft.ML.FastTree (1)
GamModelParameters.cs (1)
631
_pred
= pred;
22 references to _pred
Microsoft.ML.FastTree (22)
GamModelParameters.cs (22)
621
public int NumFeatures =>
_pred
._inputType.Size;
636
ch.Check(len ==
_pred
._numInputFeatures);
643
var numFeatures =
_pred
._binEffects.Length;
647
var binDocList = new List<int>[
_pred
._binEffects[f].Length];
648
for (int e = 0; e <
_pred
._binEffects[f].Length; e++)
662
var score =
_pred
.GetFeatureBinsAndScore(in cursor.Features, bins);
698
if (!
_pred
._inputFeatureToShapeFunctionMap.TryGetValue(feat, out internalIndex))
700
var effects =
_pred
._binEffects[internalIndex];
704
lock (
_pred
)
719
lock (
_pred
)
752
lock (
_pred
)
763
TrainUtils.SaveModel(host, ch, file,
_pred
, _data);
814
Contracts.Assert(context.
_pred
._inputFeatureToShapeFunctionMap.ContainsKey(index)
815
&& context.
_pred
._inputFeatureToShapeFunctionMap[index] == internalIndex);
819
var up = context.
_pred
._binUpperBounds[internalIndex];
821
BinEffects = context.
_pred
._binEffects[internalIndex];
842
Contracts.Assert(0 <= index && index < context.
_pred
._inputType.Size);
843
lock (context.
_pred
)
846
if (!context.
_pred
._inputFeatureToShapeFunctionMap.TryGetValue(index, out internalIndex))
854
lock (context.
_pred
)
856
return Utils.BuildArray(context.
_pred
.NumberOfShapeFunctions,
857
i => new FeatureInfo(context, context.
_pred
._shapeToInputMap[i], i, context._catsMap));