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)
103if (_weights != null) 107_weightedSums = new float[_weights.Length]; 108_weightedSums[0] = _weights[0]; 109for (int i = 1; i < _weights.Length; i++) 110_weightedSums[i] = _weights[i] + _weightedSums[i - 1]; 118var h = (_weights == null) ? (weightedLength + oneThird) * p + oneThird : weightedLength * p; 120if (_weights == null) 133if (_weights != null) 136_summaryStatistics.Add(_data[i], _weights[i]);