Fix F, estimate L for the held-out samples, then evaluate the log likelihood of the held-out samples.
In sklearn, the API is fit(X) to estimate L and F, and transform(X) to estimate L for some new X (fixing F). I'd probably not call it predict, since I would expect such a function to return the estimate of Lambda = LF'.
Fix
F
, estimateL
for the held-out samples, then evaluate the log likelihood of the held-out samples.In sklearn, the API is
fit(X)
to estimateL
andF
, andtransform(X)
to estimateL
for some newX
(fixingF
). I'd probably not call it predict, since I would expect such a function to return the estimate ofLambda = LF'
.