Vote count:
0
I am unable to figure out how to create a class that has all the members of pymc.Multinomial
class except that I want to redefine logp
sine I don't want to get -inf while calculaing log(0)
I realize that it is simple problem of inheritance but I don't know how and in which order will I pass the arguments to super class (which in my case I think will be Multinomial).
It will be great if someone can illustrate with an example.
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire