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