JohnReid / infpy

A python package that implements some models and inference techniques
3 stars 1 forks source link

networkx #1

Open mb3152 opened 10 years ago

mb3152 commented 10 years ago

for the script: infpy / python / infpy / variational / message_passing / svmp.py

Would it be possible to use this with NetworkX graphs easily?

JohnReid commented 10 years ago

I'm afraid I was using the boost.graph python bindings at the time which aren't so well supported any more. It would be possible to rewrite the code to use networkx and I don't think it would be too much work. If it was me doing it, I would rewrite it for the excellent graphtool package which is also based upon boost.graph.

mb3152 commented 10 years ago

Ah okay. Well, if you get around to it, I would be interesting in using it. All my code is dependent on NetworkX, but I am sure the graph tool code wouldn’t be too hard to take advantage of. Let me know if you ever write it!

Thanks,

Maxwell Bertolero PhD Student D'Esposito Lab @ UC Berkeley NSF Graduate Research Fellow "I think nature's imagination is so much greater than man's, she's never going to let us relax"— R. Feynman.

On Apr 29, 2014, at 11:21 PM, JohnReid notifications@github.com wrote:

I'm afraid I was using the boost.graph python bindings at the time which aren't so well supported any more. It would be possible to rewrite the code to use networkx and I don't think it would be too much work. If it was me doing it, I would rewrite it for the excellent graphtool package which is also based upon boost.graph.

— Reply to this email directly or view it on GitHub.

JohnReid commented 10 years ago

I have to admit I probably won't get around to it as I don't use this bit of the code anymore but I will let you know if I do.