4 writes to Thresholds
Microsoft.ML.FastTree (4)
TreeEnsemble\InternalRegressionTree.cs (4)
90Thresholds = new uint[maxLeaves - 1]; 120Thresholds = buffer.ToUIntArray(ref position); 204Thresholds = new uint[NumLeaves - 1]; 300Thresholds = reader.ReadUIntArray();
20 references to Thresholds
Microsoft.ML.FastTree (20)
TreeEnsemble\InternalRegressionTree.cs (20)
403writer.WriteUIntArray(Thresholds); 496checker(Utils.Size(Thresholds) == 0 || Thresholds.Length == numMaxNodes, "bad threshold length"); 498checker(RawThresholds != null || Thresholds != null, 518Thresholds.SizeInBytes() + 548Thresholds.ToByteArray(buffer, ref position); 568Thresholds[node] != tree.Thresholds[node] || 578Thresholds[node], 579tree.Thresholds[node], 649return Thresholds[node]; 750if (featureBins[SplitFeatures[node]] <= Thresholds[node]) 769if (binnedInstance[SplitFeatures[node]] <= Thresholds[node]) 1056Thresholds[indexOfNewNonLeaf] = threshold; 1097RawThresholds[n] = (float)dataset.Flocks[flock].BinUpperBounds(subfeature)[Thresholds[n]]; 1121Thresholds[n] = i; 1486uint threshold1 = Thresholds[pos1]; 1491Thresholds[pos1] = Thresholds[pos2]; 1496Thresholds[pos2] = threshold1;