Closed a3huang closed 4 years ago
I'm also getting this issue. Would be great if someone fix this ASAP
Sorry about the issue. You have to pass in 2D numpy arrays now. I'll fix the documentation soon.
The documentation is fixed in the next patch and pomegranate will raise an error when you pass in an array of the wrong size.
I am using version 0.12.0 of pomegranate.
Following the example in the Bayesian Networks section of the documentation, I build the graphical model for the Monty Hall example exactly as written. However, when I run:
I get the following error:
To Reproduce