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