1 write to _weights
Microsoft.ML.FastTree (1)
RandomForestRegression.cs (1)
60
_weights
= weights;
9 references to _weights
Microsoft.ML.FastTree (9)
RandomForestRegression.cs (9)
103
if (
_weights
!= null)
107
_weightedSums = new float[
_weights
.Length];
108
_weightedSums[0] =
_weights
[0];
109
for (int i = 1; i <
_weights
.Length; i++)
110
_weightedSums[i] =
_weights
[i] + _weightedSums[i - 1];
118
var h = (
_weights
== null) ? (weightedLength + oneThird) * p + oneThird : weightedLength * p;
120
if (
_weights
== null)
133
if (
_weights
!= null)
136
_summaryStatistics.Add(_data[i],
_weights
[i]);