From: JT
Subject: Library for Bayesian Network?
Date: 
Message-ID: <0ea5c047-869a-46fc-95c4-e31a9839cf2c@q33g2000pra.googlegroups.com>
I have a project that calls for some Bayesian inference. I checked out
the CMU AI repository, but all of such libraries are deprecated.

This, of course, is a great opportunity to build a Bayesian inference
library myself. However, it will still be very helpful to reuse some
existing components.

Can someone point me to the right direction? Thanks a lot.

From: AJ Rossini
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <3b8aeeac-4408-4a41-bc86-6df70ca2db9a@u8g2000yqn.googlegroups.com>
On Apr 23, 7:03 am, JT <···········@gmail.com> wrote:
> I have a project that calls for some Bayesian inference. I checked out
> the CMU AI repository, but all of such libraries are deprecated.
>
> This, of course, is a great opportunity to build a Bayesian inference
> library myself. However, it will still be very helpful to reuse some
> existing components.
>
> Can someone point me to the right direction? Thanks a lot.

I saw CL code on github recently.

(for the others -- bayesian networks are graphical-models, i.e. data
analysis using network representation of variables -- not bayesian
inference per-say, but a means of establishing directional correlation
(a weird definition for "causal").
From: JT
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <4424dafb-c079-491a-a6e8-fbe06f19a1a7@v1g2000prd.googlegroups.com>
> I saw CL code on github recently.
>
> (for the others -- bayesian networks are graphical-models, i.e. data
> analysis using network representation of variables -- not bayesian
> inference per-say, but a means of establishing directional correlation
> (a weird definition for "causal").

Thanks for the tip. You also made me realize that I made a mistake
with my terminologies.

To clarify, I want a "Bayesian Network library", not "Bayesian
inference code", which can be easily written.
From: Pascal J. Bourguignon
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <871vrjewzu.fsf@galatea.local>
JT <···········@gmail.com> writes:

> I have a project that calls for some Bayesian inference. I checked out
> the CMU AI repository, but all of such libraries are deprecated.

How can an algorithm become deprecated?


> This, of course, is a great opportunity to build a Bayesian inference
> library myself. However, it will still be very helpful to reuse some
> existing components.
>
> Can someone point me to the right direction? Thanks a lot.

If you have the Baysian code you need in the CMU AI Rep, go ahead, use it!

-- 
__Pascal Bourguignon__
From: JT
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <297d7f4c-1320-4881-a6b5-8744ec6b508a@w35g2000prg.googlegroups.com>
On Apr 22, 10:53 pm, ····@informatimago.com (Pascal J. Bourguignon)
wrote:
> JT <···········@gmail.com> writes:
> > I have a project that calls for some Bayesian inference. I checked out
> > the CMU AI repository, but all of such libraries are deprecated.
>
> How can an algorithm become deprecated?
>
> > This, of course, is a great opportunity to build a Bayesian inference
> > library myself. However, it will still be very helpful to reuse some
> > existing components.
>
> > Can someone point me to the right direction? Thanks a lot.
>
> If you have the Baysian code you need in the CMU AI Rep, go ahead, use it!

What I mean was, the codes listed by CMU AI rep does not exist any
more. (At least I can't find them.)
From: Thomas A. Russ
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <ymi3abzf375.fsf@blackcat.isi.edu>
JT <···········@gmail.com> writes:

> What I mean was, the codes listed by CMU AI rep does not exist any
> more. (At least I can't find them.)

I was able to find the code without too much trouble.  The only slighly
obscure part is when you have to click on a link to get a directory view
that shows you the actual files you can download.

  http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/0.html

Where were you looking?


-- 
Thomas A. Russ,  USC/Information Sciences Institute
From: JT
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <979ae26a-5722-49d9-b07f-1c37b685f011@k19g2000prh.googlegroups.com>
Ok, that's stupid of me. I missed this one somehow. But it's the only
lisp Bayesian network code I can find.

http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/areas/reasonng/probabl/belief/0.html

I will look into it and see what I can use.
From: Raffael Cavallaro
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <5baac7c3-a330-4786-8ee3-46410f9e55d9@r37g2000yqn.googlegroups.com>
On Apr 23, 5:52 pm, ····@sevak.isi.edu (Thomas A. Russ) wrote:
> JT <···········@gmail.com> writes:
> > What I mean was, the codes listed by CMU AI rep does not exist any
> > more. (At least I can't find them.)
>
> I was able to find the code without too much trouble.  The only slighly
> obscure part is when you have to click on a link to get a directory view
> that shows you the actual files you can download.
>
>  http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/0.html
>
> Where were you looking?
>
> --
> Thomas A. Russ,  USC/Information Sciences Institute

IME, most of the actual code links pointed to are dead. Try
downloading some and you'll see what he means.
From: Tamas K Papp
Subject: Re: Library for Bayesian Network?
Date: 
Message-ID: <75b1haF15l20gU1@mid.individual.net>
On Wed, 22 Apr 2009 22:03:36 -0700, JT wrote:

> I have a project that calls for some Bayesian inference. I checked out
> the CMU AI repository, but all of such libraries are deprecated.
> 
> This, of course, is a great opportunity to build a Bayesian inference
> library myself. However, it will still be very helpful to reuse some
> existing components.
> 
> Can someone point me to the right direction? Thanks a lot.

What exactly do you need?  The posterior function usually needs to be
written by you, unless you are using some well-known family of models,
sometimes the latter are prepackaged, but it is not a big deal to
write them anyway.  As for sampling, writing a Metropolis-Hastings or
a Gibbs sampler should be pretty straightforward too, and the latter
should be adapted to your model, so I don't see how much of it could
end up in a library.

Tamas