1 write to _host
Microsoft.ML.Recommender (1)
SafeTrainingAndModelBuffer.cs (1)
219
_host
= env.Register("SafeTrainingAndModelBuffer");
8 references to _host
Microsoft.ML.Recommender (8)
SafeTrainingAndModelBuffer.cs (8)
254
_host
.Assert(_pMFModel == null);
269
using (var pch =
_host
.StartProgressChannel("Create matrix"))
321
_host
.Assert(_pMFModel == null);
353
_host
.Assert(_pMFModel == null);
385
_host
.Check(_pMFModel != null, "Attempted to get predictor before training");
387
_host
.Check(m > 0, "Number of rows should have been positive but was not");
389
_host
.Check(n > 0, "Number of columns should have been positive but was not");
391
_host
.Check(k > 0, "Internal dimension should have been positive but was not");