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