1 write to FeatureUseCount
Microsoft.ML.FastTree (1)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (1)
170FeatureUseCount = new int[TrainData.NumFeatures];
8 references to FeatureUseCount
Microsoft.ML.FastTree (8)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (8)
253++FeatureUseCount[rootSplitInfo.Feature]; 274++FeatureUseCount[bestLeafSplitInfo.Feature]; 682flock, FeatureUseCount, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf, 689flock, FeatureUseCount, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf, 696flock, FeatureUseCount, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf, 704flock, FeatureUseCount, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf, 800double usePenalty = (FeatureUseCount[feature] == 0) ? 801FeatureFirstUsePenalty : FeatureReusePenalty * Math.Log(FeatureUseCount[feature] + 1);