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