[Question] How Likelihood is related to model.likelihood? #1783
-
Hi, thank you for reading my question. I have a question about training process explained in the documentation. After model fitting, I can get model prediction by:
I was wondering how It seems that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mohammad-saber, Yes, you are correct that both of them are pointing to the same object. I suppose you are wondering how it is updated during training despite we do not do
Thus, likelihood is handled internally during the training (to be exact, here). Though, I am not sure why the authors chose this way because in my opinion, Edit: I think |
Beta Was this translation helpful? Give feedback.
Hi @mohammad-saber,
Yes, you are correct that both of them are pointing to the same object. I suppose you are wondering how it is updated during training despite we do not do
output = likelihood(model(train_x))
but instead we dooutput = model(train_x)
. Note that, we have already passedlikelihood
to the model definition in the following code block: