1 write to Host
Microsoft.ML.Data (1)
DataView\BatchDataViewMapperBase.cs (1)
24
Host
= env.Register(registrationName);
14 references to Host
Microsoft.ML.Data (4)
DataView\BatchDataViewMapperBase.cs (4)
32
Host
.CheckValue(columnsNeeded, nameof(columnsNeeded));
33
Host
.CheckValueOrNull(rand);
45
return new BindingsWrappedRowCursor(
Host
, inputCursor, SchemaBindings);
93
: base(parent.
Host
)
Microsoft.ML.TimeSeries (10)
SrCnnEntireAnomalyDetector.cs (10)
189
Host
.CheckValue(outputColumnName, nameof(outputColumnName));
191
Host
.CheckValue(inputColumnName, nameof(inputColumnName));
194
Host
.CheckValue(options, nameof(options));
205
Host
.CheckUserArg(options.Period >= 0, nameof(options.Period), "Must be an integer equal to or greater than 0.");
207
Host
.CheckUserArg(options.BatchSize == -1 || options.BatchSize >= MinBatchSize, nameof(options.BatchSize), "Must be -1 or no less than 12.");
208
Host
.CheckUserArg(options.BatchSize >= 4 * options.Period || options.BatchSize == -1 || options.Period == 0, nameof(options.BatchSize), "Must be at least four times the length of one period.");
210
Host
.CheckUserArg(options.Threshold >= 0 && options.Threshold <= 1, nameof(options.Threshold), "Must be in [0,1].");
211
Host
.CheckUserArg(options.DetectMode == SrCnnDetectMode.AnomalyOnly
215
Host
.CheckUserArg(options.DeseasonalityMode == SrCnnDeseasonalityMode.Stl
219
Host
.CheckUserArg(options.Sensitivity >= 0 && options.Sensitivity <= 100, nameof(options.Sensitivity), "Must be in [0,100].");