1 write to _pred
Microsoft.ML.FastTree (1)
GamModelParameters.cs (1)
631_pred = pred;
22 references to _pred
Microsoft.ML.FastTree (22)
GamModelParameters.cs (22)
621public int NumFeatures => _pred._inputType.Size; 636ch.Check(len == _pred._numInputFeatures); 643var numFeatures = _pred._binEffects.Length; 647var binDocList = new List<int>[_pred._binEffects[f].Length]; 648for (int e = 0; e < _pred._binEffects[f].Length; e++) 662var score = _pred.GetFeatureBinsAndScore(in cursor.Features, bins); 698if (!_pred._inputFeatureToShapeFunctionMap.TryGetValue(feat, out internalIndex)) 700var effects = _pred._binEffects[internalIndex]; 704lock (_pred) 719lock (_pred) 752lock (_pred) 763TrainUtils.SaveModel(host, ch, file, _pred, _data); 814Contracts.Assert(context._pred._inputFeatureToShapeFunctionMap.ContainsKey(index) 815&& context._pred._inputFeatureToShapeFunctionMap[index] == internalIndex); 819var up = context._pred._binUpperBounds[internalIndex]; 821BinEffects = context._pred._binEffects[internalIndex]; 842Contracts.Assert(0 <= index && index < context._pred._inputType.Size); 843lock (context._pred) 846if (!context._pred._inputFeatureToShapeFunctionMap.TryGetValue(index, out internalIndex)) 854lock (context._pred) 856return Utils.BuildArray(context._pred.NumberOfShapeFunctions, 857i => new FeatureInfo(context, context._pred._shapeToInputMap[i], i, context._catsMap));