1 write to TreeWeights
Microsoft.ML.FastTree (1)
TreeEnsemble.cs (1)
35TreeWeights = treeWeights.ToList();
15 references to TreeWeights
Microsoft.ML.FastTree (4)
FastTree.cs (2)
3395=> RegressionTreeBaseUtils.RegressionTreeEnsembleAsIDataView(Host, TrainedTreeEnsemble.Bias, TrainedTreeEnsemble.TreeWeights, TrainedTreeEnsemble.Trees); 3441=> RegressionTreeBaseUtils.RegressionTreeEnsembleAsIDataView(Host, TrainedTreeEnsemble.Bias, TrainedTreeEnsemble.TreeWeights, TrainedTreeEnsemble.Trees);
TreeEnsemble.cs (2)
13/// scale those values via <see cref="TreeWeights"/>, and finally sum the scaled values and <see cref="Bias"/> up. 23/// <see cref="TreeWeights"/>[i] is the i-th <see cref="RegressionTreeBase"/>'s weight in <see cref="Trees"/>.
Microsoft.ML.IntegrationTests (4)
IntrospectiveTraining.cs (4)
53Assert.Equal(3, treeCollection.TreeWeights.Count); 54Assert.All(treeCollection.TreeWeights, weight => Assert.Equal(1.0, weight)); 97Assert.Equal(3, treeCollection.TreeWeights.Count); 98Assert.All(treeCollection.TreeWeights, weight => Assert.Equal(1.0, weight));
Microsoft.ML.Tests (7)
TrainerEstimators\TreeEstimators.cs (7)
919CheckSummary(modelParameters, trainedTreeEnsemble.Bias, trainedTreeEnsemble.TreeWeights, trainedTreeEnsemble.Trees); 937CheckSummary(modelParameters, trainedTreeEnsemble.Bias, trainedTreeEnsemble.TreeWeights, trainedTreeEnsemble.Trees); 955CheckSummary(modelParameters, trainedTreeEnsemble.Bias, trainedTreeEnsemble.TreeWeights, trainedTreeEnsemble.Trees); 980CheckSummary(modelParameters, trainedTreeEnsemble.Bias, trainedTreeEnsemble.TreeWeights, trainedTreeEnsemble.Trees); 998CheckSummary(modelParameters, trainedTreeEnsemble.Bias, trainedTreeEnsemble.TreeWeights, trainedTreeEnsemble.Trees); 1016CheckSummary(modelParameters, trainedTreeEnsemble.Bias, trainedTreeEnsemble.TreeWeights, trainedTreeEnsemble.Trees); 1064CheckSummary(modelParameters, trainedTreeEnsemble.Bias, trainedTreeEnsemble.TreeWeights, trainedTreeEnsemble.Trees);