4 writes to RawThresholds
Microsoft.ML.FastTree (4)
TreeEnsemble\InternalRegressionTree.cs (4)
121
RawThresholds
= buffer.ToFloatArray(ref position);
203
RawThresholds
= rawThresholds;
301
RawThresholds
= reader.ReadFloatArray();
1090
RawThresholds
= new float[numNodes];
21 references to RawThresholds
Microsoft.ML.FastTree (21)
FastTree.cs (2)
3074
nodesValues.Add(tree.
RawThresholds
[nodeIndex]);
3077
if (tree.DefaultValueForMissing?[nodeIndex] <= tree.
RawThresholds
[nodeIndex])
RegressionTree.cs (1)
166
_numericalSplitThresholds = ImmutableArray.Create(_tree.
RawThresholds
, 0, _tree.NumNodes);
TreeEnsemble\InternalRegressionTree.cs (18)
404
writer.WriteSingleArray(
RawThresholds
);
497
checker(Utils.Size(
RawThresholds
) == 0 ||
RawThresholds
.Length == NumLeaves - 1, "bad rawthreshold length");
498
checker(
RawThresholds
!= null || Thresholds != null,
519
RawThresholds
.SizeInBytes() +
549
RawThresholds
.ToByteArray(buffer, ref position);
654
return
RawThresholds
[node];
874
if (fv <=
RawThresholds
[node])
906
if (fv <=
RawThresholds
[node])
970
if (val <=
RawThresholds
[node])
1085
if (
RawThresholds
!= null)
1097
RawThresholds
[n] = (float)dataset.Flocks[flock].BinUpperBounds(subfeature)[Thresholds[n]];
1099
RawThresholds
[n] = 0.5f;
1119
if (
RawThresholds
[n] < rawThreshold)
1228
double threshold =
RawThresholds
[n];
1317
double currentThreshold =
RawThresholds
[n];
1352
return PfaUtils.If(PfaUtils.Call("<=", PfaUtils.Index(feat, SplitFeatures[node]),
RawThresholds
[node]), lte, gt);
1603
if (val <=
RawThresholds
[node])