2 writes to _host
Microsoft.ML.Transforms (2)
Dracula\Featurizer.cs (2)
48_host = env.Register(RegistrationName); 66_host = env.Register(RegistrationName);
15 references to _host
Microsoft.ML.Transforms (15)
Dracula\Featurizer.cs (15)
49_host.CheckParam(labelBinCount > 1, nameof(labelBinCount), "Must be greater than 1"); 59_host.AssertValue(countTable); 67_host.CheckValue(ctx, nameof(ctx)); 79_host.CheckDecode(_labelBinCount > 1); 83_host.CheckDecode(NumFeatures == _labelBinCount + _logOddsCount + 1); 86ctx.LoadModelOrNull<MultiCountTableBase, SignatureLoadModel>(_host, out _countTables, "CountTables"); 87_host.AssertValue(_countTables); 90_host.CheckDecode(PriorCoef.All(x => x > 0)); 93_host.CheckDecode(LaplaceScale.All(x => x >= 0)); 140_host.Assert(features.Length == NumFeatures); 163_host.Assert(FloatUtils.IsFinite(features)); 173_host.Assert(_labelBinCount == counts.Length); 194_host.Assert(counts.Length == _labelBinCount); 195_host.Assert(logOdds.Length == _logOddsCount); 199_host.Assert(counts[i] >= 0);