5 writes to _pMFModel
Microsoft.ML.Recommender (5)
SafeTrainingAndModelBuffer.cs (5)
253MFDestroyModel(ref _pMFModel); 320MFDestroyModel(ref _pMFModel); 339_pMFModel = MFTrain(&prob, pParam); 352MFDestroyModel(ref _pMFModel); 378_pMFModel = MFTrainWithValidation(&prob, &validProb, pParam);
12 references to _pMFModel
Microsoft.ML.Recommender (12)
SafeTrainingAndModelBuffer.cs (12)
251if (_pMFModel != null) 254_host.Assert(_pMFModel == null); 318if (_pMFModel != null) 321_host.Assert(_pMFModel == null); 350if (_pMFModel != null) 353_host.Assert(_pMFModel == null); 385_host.Check(_pMFModel != null, "Attempted to get predictor before training"); 386m = _pMFModel->M; 388n = _pMFModel->N; 390k = _pMFModel->K; 398Marshal.Copy((IntPtr)_pMFModel->P, p, 0, p.Length); 399Marshal.Copy((IntPtr)_pMFModel->Q, q, 0, q.Length);