adding conditional probabilities without for-loop

17 views
Skip to first unread message

na

unread,
Aug 9, 2016, 7:17:30 AM8/9/16
to libDAI

Hi,

I'm currently working with python and libdai. I have 8*8 image patches and would like to arrange them in a good way. Each patch can be one out of 600 candidates. I'm following the sprinkler example but my problem is now the computation time:
The patches have conditional probability tables of size 600*600*600. When I'm using for-loops to define the conditional probabilities, it takes hours. Is there a good way to do that?

Thanks!

Reply all
Reply to author
Forward
0 new messages