jmschrei / pomegranate

Fast, flexible and easy to use probabilistic modelling in Python.
http://pomegranate.readthedocs.org/en/latest/
MIT License
3.29k stars 590 forks source link

static variable #1102

Closed yfpeng1234 closed 2 weeks ago

yfpeng1234 commented 2 weeks ago

Hi Jacob, some of my variables are static, I mean it's a constant. But in pomegranate, each node represent a distribution. Could you please give me some advice on how to deal with that?

jmschrei commented 2 weeks ago

You can just have the distribution have a probability of 1.0 for one of the values, right?

yfpeng1234 commented 2 weeks ago

That's right. Thanks so much for your prompt reply!