Generating the conditional prboability #10
-
Is there a way in the PyAgrum package where it can learn the probability tables from the finite discrete sample by computing the frequency of the sample? |
Beta Was this translation helpful? Give feedback.
Answered by
phwuil
Apr 6, 2023
Replies: 2 comments
-
in an URL : https://pyagrum.readthedocs.io/en/1.7.1/BNLearning.html#pyAgrum.BNLearner.fitParameters learner=gum.BNLearner("test.csv")
learner.fitParameters(bn) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kenneth-lee-ch
-
Feel free to close the discussion when you think it is answered :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in an URL : https://pyagrum.readthedocs.io/en/1.7.1/BNLearning.html#pyAgrum.BNLearner.fitParameters
in a code :
in a notebook :