Closed samanemami closed 2 years ago
Seems like a typo: try evidence
instead of evidance
If this example comes from the from documentation pages, I need to fix the typo.
Seems like a typo: try
evidence
instead ofevidance
If this example comes from the from documentation pages, I need to fix the typo.
The example of the documentation works perfectly.
But when I use structure_learning.fit()
method to construct a DAG with make_DAG()
, it returns an error in inference()
, but if I manually construct the edges in the dictionary, it works fine.
Ok! I will look at this!
Ok! I will look at this!
Thank you so much
I am unable to reproduce the error. Can you show this error with a small example?
Thank you @erdogant I managed to fix the problem. It was coming from the data frame. I am using uchar8 as the data type for the model input. But I can not make the predict method work. It gives me the following error;
Did you try to update to the latest version? It seems look an issue that may have fixed the other day.
Try first:
pip install -U bnlearn
It is not working with the last version. If you send me the kaggle user, I can give you access to the problem. Thank you
I am trying to reproduce the Inference example by making DAG with the following method;
But I receive the following TypeError
I know that it comes from the DAG, but DAG is a dictionary and it is based on the standard of the example in the documentation.
Could you help me with this, please?