[Bug] get_fantasy_likelihood
method broken for DirichletClassificationLikelihood
#2579
Labels
get_fantasy_likelihood
method broken for DirichletClassificationLikelihood
#2579
🐛 Bug
Conditioning on new observations for a multi-class classification model with
DirichletClassificationLikelihood
throws an error.To reproduce
** Code snippet to reproduce **
** Stack trace/error message **
Expected Behavior
Should return the updated model with the fantasized likelihood.
System information
Please complete the following information:
Additional context
I can see that a Runtime Error is raised in the
get_fantasy_likelihood
method ofDirichletClassificationLikelihood
for the absence oftargets
inkwargs
. However, I can't seetargets
being used anywhere in that method. Also, it is not possible to pass a kwarg calledtargets
because theget_fantasy_likelihood
method is called inside theget_fantasy_model
method of theExactGP
class and this method already takes in a separatetargets
argument. So basically, the same function cannot take two arguments calledtargets
.The text was updated successfully, but these errors were encountered: