1 write to _host
Microsoft.ML.FastTree (1)
SumupPerformanceCommand.cs (1)
86
_host
= env.Register("FastTreeSumupPerformance", args.RandomSeed, args.Verbose);
14 references to _host
Microsoft.ML.FastTree (14)
SumupPerformanceCommand.cs (14)
87
_host
.CheckValue(args, nameof(args));
89
_host
.CheckUserArg(Enum.IsDefined(typeof(IntArrayType), args.Type) && args.Type != IntArrayType.Current, nameof(args.Type), "Value not defined");
90
_host
.CheckUserArg(args.Length >= 0, nameof(args.Length), "Must be non-negative");
91
_host
.CheckUserArg(args.Count >= 0, nameof(args.Count), "Must be non-negative");
92
_host
.CheckUserArg(args.Bins > 0, nameof(args.Bins), "Must be positive");
93
_host
.CheckUserArg(args.Seconds > 0, nameof(args.Seconds), "Must be positive");
153
using (var pch =
_host
.StartProgressChannel("Create IntArrays"))
159
int salt =
_host
.Rand.Next();
172
throw
_host
.ExceptNotImpl("Haven't yet wrote a random generator appropriate for {0}", _type);
214
_host
.Assert(0 < sparsity && sparsity < 1);
232
_host
.Assert(0 <= sparsity && sparsity <= 1);
245
_host
.Assert(Utils.IsIncreasing(0, data.DocIndices, count, _len));
269
using (var ch =
_host
.Start("Run"))
317
InitSumupInputData(data, partition,
_host
.Rand);