2 writes to Host
Microsoft.ML.Ensemble (2)
OutputCombiners\BaseMultiCombiner.cs (2)
31
Host
= env.Register(name);
41
Host
= env.Register(name);
15 references to Host
Microsoft.ML.Ensemble (15)
OutputCombiners\BaseMultiAverager.cs (2)
27
Host
.AssertNonEmpty(src);
28
Host
.Assert(weights == null || Utils.Size(weights) == Utils.Size(src));
OutputCombiners\BaseMultiCombiner.cs (4)
32
Host
.CheckValue(options, nameof(options));
42
Host
.AssertValue(ctx);
48
Host
.CheckDecode(cbFloat == sizeof(Single));
54
Host
.CheckValue(ctx, nameof(ctx));
OutputCombiners\MultiMedian.cs (2)
74
Host
.AssertNonEmpty(src);
75
Host
.Assert(weights == null || Utils.Size(weights) == Utils.Size(src));
OutputCombiners\MultiVoting.cs (4)
43
Host
.Assert(!Normalize);
49
Host
.CheckDecode(!Normalize);
74
Host
.AssertNonEmpty(src);
75
Host
.Assert(weights == null || Utils.Size(weights) == Utils.Size(src));
OutputCombiners\MultiWeightedAverage.cs (3)
59
Host
.CheckUserArg(Enum.IsDefined(typeof(MultiWeightageKind), _weightageKind), nameof(options.WeightageName));
69
Host
.CheckDecode(Enum.IsDefined(typeof(MultiWeightageKind), _weightageKind));
87
Host
.Assert(Enum.IsDefined(typeof(MultiWeightageKind), _weightageKind));