Skip to content

Bn Learner? #28

Answered by phwuil
kenneth-lee-ch asked this question in Q&A
Dec 17, 2024 · 2 comments · 11 replies
Discussion options

You must be logged in to vote

Hi @kenneth-lee-ch , sorry or the delay :-)

When you know the structure and just want to "learn" the parameters from a database, the functions is learnParameters, you can choose a priori (for instance, a smoothing).

https://pyagrum.readthedocs.io/en/1.17.2/BNLearning.html#pyAgrum.BNLearner.learnParameters

https://pyagrum.readthedocs.io/en/1.17.2/notebooks/12-Examples_KaggleTitanic.html#Making-a-BN-without-learning-data-(structureFromExpert4)

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by phwuil
Comment options

You must be logged in to vote
11 replies
@kenneth-lee-ch
Comment options

@phwuil
Comment options

@kenneth-lee-ch
Comment options

@kenneth-lee-ch
Comment options

@kenneth-lee-ch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants