Skip to content

InvalidArgument: [pyAgrum] Invalid argument: Potential to copy has not the same domainSize. #13

Closed Answered by phwuil
kenneth-lee-ch asked this question in Q&A
Discussion options

You must be logged in to vote

you can even pass the same bn :

bn=gum.fastBN("Erk->Akt->PKA;Mek->Jnk->Raf->P38[5]") 
learner=gum.BNLearner("tr_data_graph.csv",bn) # use bn as template for the variables
learner.fitParameters(bn)
gnb.flow.row(bn.cpt("PKA"),bn.cpt("P38"))

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@phwuil
Comment options

@phwuil
Comment options

Answer selected by kenneth-lee-ch
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