1 write to FlockToBestFeature
Microsoft.ML.FastTree (1)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (1)
844
FlockToBestFeature
= new int[data.NumFlocks];
21 references to FlockToBestFeature
Microsoft.ML.FastTree (21)
Dataset\FeatureFlock.cs (10)
223
if (leafSplitCandidates.
FlockToBestFeature
!= null)
225
if (leafSplitCandidates.
FlockToBestFeature
[flock] == -1 ||
226
leafSplitCandidates.FeatureSplitInfo[leafSplitCandidates.
FlockToBestFeature
[flock]].Gain <
229
leafSplitCandidates.
FlockToBestFeature
[flock] = feature;
487
if (leafSplitCandidates.
FlockToBestFeature
!= null)
488
leafSplitCandidates.
FlockToBestFeature
[flock] = firstFlockFeature;
699
if (leafSplitCandidates.
FlockToBestFeature
!= null)
700
leafSplitCandidates.
FlockToBestFeature
[flock] = firstFlockFeature;
921
if (leafSplitCandidates.
FlockToBestFeature
!= null)
922
leafSplitCandidates.
FlockToBestFeature
[flock] = firstFlockFeature;
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (11)
464
if (leafSplitCandidates.
FlockToBestFeature
!= null)
468
for (int flock = 0; flock < leafSplitCandidates.
FlockToBestFeature
.Length; ++flock)
470
int bestFeatInFlock = leafSplitCandidates.
FlockToBestFeature
[flock];
807
if (leafSplitCandidates.
FlockToBestFeature
!= null)
809
if (leafSplitCandidates.
FlockToBestFeature
[flock] == -1 ||
810
leafSplitCandidates.FeatureSplitInfo[leafSplitCandidates.
FlockToBestFeature
[flock]].Gain <
813
leafSplitCandidates.
FlockToBestFeature
[flock] = feature;
900
+ sizeof(int) * Utils.Size(
FlockToBestFeature
);
1080
if (
FlockToBestFeature
!= null)
1082
for (int f = 0; f <
FlockToBestFeature
.Length; ++f)
1083
FlockToBestFeature
[f] = -1;