Skip to content

VariableElimination NaN values #1533

Answered by ankurankan
jonasvit asked this question in Q&A
Discussion options

You must be logged in to vote

@jonasvit Since you will have to do a query call for each row of your dataset (as the evidence argument only accepts single state names),
you can write a simple check before the call which modifies the evidence argument according to the observed values.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jonasvit
Comment options

Comment options

You must be logged in to vote
1 reply
@jonasvit
Comment options

Answer selected by jonasvit
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