2 writes to _binEffects
Microsoft.ML.FastTree (2)
GamModelParameters.cs (2)
77
_binEffects
= binEffects;
132
_binEffects
= new double[NumberOfShapeFunctions][];
20 references to _binEffects
Microsoft.ML.FastTree (20)
GamModelParameters.cs (20)
137
_binEffects
[i] = reader.ReadDoubleArray();
138
Host.CheckDecode(Utils.Size(
_binEffects
[i]) >= 1);
142
_binUpperBounds[i] = reader.ReadDoubleArray(
_binEffects
[i].Length);
176
ctx.Writer.WriteDoubleArray(
_binEffects
[i]);
177
int diff =
_binEffects
.Sum(e => e.Take(e.Length - 1).Select((ef, i) => ef != e[i + 1] ? 1 : 0).Sum());
178
int bound =
_binEffects
.Sum(e => e.Length - 1);
183
Host.Assert(_binUpperBounds[i].Length ==
_binEffects
[i].Length);
270
return
_binEffects
[featureIndex][index];
277
return
_binEffects
[featureIndex][binIndex];
329
var binEffects = new double[
_binEffects
[j].Length];
330
_binEffects
[j].CopyTo(binEffects, 0);
345
binEffects[i] = new double[
_binEffects
[j].Length];
346
_binEffects
[j].CopyTo(binEffects[i], 0);
390
double[] effects =
_binEffects
[internalIndex];
443
var effects =
_binEffects
[featureIndex];
643
var numFeatures = _pred.
_binEffects
.Length;
647
var binDocList = new List<int>[_pred.
_binEffects
[f].Length];
648
for (int e = 0; e < _pred.
_binEffects
[f].Length; e++)
700
var effects = _pred.
_binEffects
[internalIndex];
821
BinEffects = context._pred.
_binEffects
[internalIndex];