1 write to FeatureUseCount
Microsoft.ML.FastTree (1)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (1)
170
FeatureUseCount
= 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];
682
flock,
FeatureUseCount
, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf,
689
flock,
FeatureUseCount
, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf,
696
flock,
FeatureUseCount
, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf,
704
flock,
FeatureUseCount
, FeatureFirstUsePenalty, FeatureReusePenalty, MinDocsInLeaf,
800
double usePenalty = (
FeatureUseCount
[feature] == 0) ?
801
FeatureFirstUsePenalty : FeatureReusePenalty * Math.Log(
FeatureUseCount
[feature] + 1);