Skip to main content
1 vote
1 answer
62 views

I am trying to set up a dummy code for the pomegranate (below), but for some reason I am getting an error when I try to run the ConditionalCategorical(). How do I resolve it? from pomegranate....
Isaac A's user avatar
  • 609
1 vote
1 answer
491 views

I've tried to install pomegranate using pip for a while now, but it seems like it can't. All it did was giving me this output. Collecting pomegranate Downloading pomegranate-1.1.1-py3-none-any.whl....
lnxhm1's user avatar
  • 11
1 vote
1 answer
754 views

I'm using pomegranate in python, but the module is not working All methods of pomegranate are not defined from pomegranate import * # Define the distributions for each node guest = ...
하창민's user avatar
2 votes
0 answers
408 views

When I do this: from pomegranate import HiddenMarkovModel It will run with this problem: ImportError: cannot import name 'HiddenMarkovModel' from 'pomegranate'. What's wrong with it? My pomegranate ...
孙沛瑜's user avatar
0 votes
2 answers
933 views

I am trying to run an example from CS50 Artificial Intelligence course involving the use of the pomegranate package (a probability model). This is the code: from pomegranate import * class Node(): ...
Ivan's user avatar
  • 1
0 votes
1 answer
149 views

I have installed a Package named Pomegranate on my project. I use Pycharm. I then import at the beginning of my file with the command : import pomegranate, time, seaborn, numpy from pomegranate import ...
Philhooh's user avatar
0 votes
1 answer
204 views

I am using the python pomegranate library and I am initializing an hmm model using the method from_sample. I have multivariate time series data - with different observed variables (a, b, c) per ...
Anne König's user avatar
2 votes
1 answer
2k views

I was trying to install pomegranate 0.6.0 on my macbook and I met an error: Building wheels for collected packages: pomegranate Building wheel for pomegranate (setup.py) ... error error: ...
yzrtt22's user avatar
  • 37
-2 votes
3 answers
3k views

# Also the terms Node, DiscreteDistribution, ConditionalProbabilityTable, distribution, BayesianNetwork(), add_edge, bake are not being recognised. from pomegranate import \* # Rain node has no ...
Ritwik Mishra's user avatar
1 vote
1 answer
1k views

I am trying to train a model for supervised learning for Hidden Markov Model (HMM)and test it on a set of observations however, keep getting this error. The goal is to predict the state based on the ...
maximus's user avatar
  • 365
2 votes
1 answer
764 views

I am making some rather big Bayesian Networks for generating synthetic data, and I find pomegranate to be a good alternative as it generates data quickly and easily allows for inputting evidence. I ...
Hakon's user avatar
  • 23
3 votes
0 answers
61 views

I'm trying to work out P(m|s) probability of meningitis given "stiff neck" So I'm trying to represent this in the model: P(m|s) = (P(s|m) * P(m))/P(s) P(s) = 0.1 P(m) = 0.0001 P(s|m) = 0.8 ...
Shiny_and_Chrome's user avatar
0 votes
0 answers
448 views

As in the ScikitLearn GaussianMixture model, reg_covar=1e-06 adds Non-negative regularization to the diagonal of covariance, which ensures covariance matrices are positive definite. sklearn.mixture....
iforcebd's user avatar
1 vote
0 answers
48 views

I want to compare bankrupt firm profiles among different countries using Bayesian Networks (pomegranate library in Python). The class is a binary variable (1=bankrupt, 0=active company), and the rest ...
gostinnaya's user avatar
2 votes
1 answer
955 views

I'm trying to create my own bayesian network programme to model a very simple court ruling scenario using pomegranate, very similar to the monty hall problem which is well documented as an example of ...
Conor Joseph Walsh's user avatar

15 30 50 per page