Bene Analysis

A Simple Approach for Finding the Globally Optimal Bayesian Network Structure

Bene

Postby cwyoo » Tue Feb 17, 2015 2:16 pm

Implements the following paper:

Tomi Silander and Petri Myllymaki (2006) A Simple Approach for Finding the Globally Optimal Bayesian Network Structure, UAI (attached in the Theory section)

Download it from Git hub: https://github.com/tomisilander/bene
cwyoo
Site Admin
 
Posts: 378
Joined: Sun Jun 22, 2014 2:38 pm

Re: Bene

Postby vlee14 » Tue Feb 17, 2015 8:16 pm

The 20 variable dataset stil did not produce any results after almost four hours. Should I run it with a smaller dataset?
vlee14
 
Posts: 38
Joined: Wed Sep 24, 2014 4:53 pm

Re: Bene

Postby cwyoo » Wed Feb 18, 2015 7:33 am

vlee14 wrote:The 20 variable dataset stil did not produce any results after almost four hours. Should I run it with a smaller dataset?


Let it run until it completes the analysis or terminates. Please post the dataset and post how to run bene here.
cwyoo
Site Admin
 
Posts: 378
Joined: Sun Jun 22, 2014 2:38 pm

Re: Bene

Postby vlee14 » Mon Feb 23, 2015 7:11 pm

For the 20 variable set, it produced results in about an hour. Attached is the image file produced.
Attachments
iris.png
iris.png (2.58 MiB) Viewed 3901 times
vlee14
 
Posts: 38
Joined: Wed Sep 24, 2014 4:53 pm

Re: Bene

Postby cwyoo » Mon Feb 23, 2015 9:00 pm

vlee14 wrote:For the 20 variable set, it produced results in about an hour. Attached is the image file produced.


Please post the associated dataset here. Also document how to prepare the dataset and run bene here.
cwyoo
Site Admin
 
Posts: 378
Joined: Sun Jun 22, 2014 2:38 pm

Re: Bene

Postby vlee14 » Tue Feb 24, 2015 4:14 pm

attached is the file for the dataset
Attachments
20 variable BC.txt
(18.2 KiB) Downloaded 154 times
vlee14
 
Posts: 38
Joined: Wed Sep 24, 2014 4:53 pm

Re: Bene

Postby meninonas » Wed Feb 25, 2015 6:06 pm

Dr. Yoo,

Please find the datasets you asked for attached below.

What I did was, I downloaded the Master Dataset from the Breast Cancer genes Forum and simply copied and pasted the corresponding amount of variables into a new excel sheet.
Attachments
25 variables.csv
(30.48 KiB) Downloaded 160 times
26 variables.csv
(31.39 KiB) Downloaded 148 times
27 variables.csv
(32.3 KiB) Downloaded 153 times
28 variables.csv
(33.21 KiB) Downloaded 150 times
29 variables.csv
(34.12 KiB) Downloaded 146 times
30 variables.csv
(35.03 KiB) Downloaded 149 times
Last edited by meninonas on Fri Feb 27, 2015 8:55 pm, edited 2 times in total.
meninonas
 
Posts: 137
Joined: Tue Jun 24, 2014 3:25 pm

Re: Bene

Postby meninonas » Wed Mar 04, 2015 1:44 pm

Dr. Yoo,

Please find the results of the results of the first Bene run. It took approximately 9 hours to run.
Attachments
1st Dataset Bene Results.zip
(134.45 MiB) Downloaded 142 times
Dataset.csv
(30.48 KiB) Downloaded 178 times
Last edited by meninonas on Thu Mar 05, 2015 12:16 pm, edited 2 times in total.
meninonas
 
Posts: 137
Joined: Tue Jun 24, 2014 3:25 pm

Re: Bene

Postby meninonas » Wed Mar 04, 2015 7:24 pm

Dr. Yoo,

I've been trying to run bene on the Path-two and Path-three and I keep on running into the following error:

Code: Select all
./run.sh: line 11: ./../bin/data2net.sh: Permission denied
Score :
Acs :
./run.sh: line 14: ./../bin/net2parents: Permission denied
./run.sh: line 14: ./../bin/parents2arcs: Permission denied
./run.sh: line 17: ./../bin/net2parents: Permission denied
./run.sh: line 18: ./../bin/parents2arcs: Permission denied
./run.sh: line 19: ./../bin/arcs2dot: Permission denied
See ./resdir/iris.png for a png picture of the net.


When I place the following command ls -l for the bene.file, it gives me the following:

Code: Select all
drwxrwxr-x 5 luis luis 4096 Feb 18 14:35 banjo.2.2.0
drwxrwxr-x 6 luis luis 4096 Mar  4 18:03 bene.git
-rw-r--r-- 1 luis luis 8980 Feb 16 18:32 examples.desktop


When I do it for the run.sh (the command prompt), I get the following:

Code: Select all
total 44
-rw-rw-r-- 1 luis luis 30558 Mar  4 16:52 iris.idt
-rw-rw-r-- 1 luis luis   244 Mar  4 16:52 iris.vd
drwxrwxr-x 2 luis luis  4096 Mar  4 18:10 resdir
-rwxrwxrwx 1 luis luis   492 Mar  4 16:52 run.sh


I've been trying to execute different variations of the chmod command to no avail. Would you be able to suggest ideas please?
meninonas
 
Posts: 137
Joined: Tue Jun 24, 2014 3:25 pm

Re: Bene

Postby cwyoo » Wed Mar 04, 2015 8:52 pm

meninonas wrote:Dr. Yoo,

I've been trying to run bene on the Path-two and Path-three and I keep on running into the following error:

Code: Select all
./run.sh: line 11: ./../bin/data2net.sh: Permission denied
Score :
Acs :
./run.sh: line 14: ./../bin/net2parents: Permission denied
./run.sh: line 14: ./../bin/parents2arcs: Permission denied
./run.sh: line 17: ./../bin/net2parents: Permission denied
./run.sh: line 18: ./../bin/parents2arcs: Permission denied
./run.sh: line 19: ./../bin/arcs2dot: Permission denied
See ./resdir/iris.png for a png picture of the net.


When I place the following command ls -l for the bene.file, it gives me the following:

Code: Select all
drwxrwxr-x 5 luis luis 4096 Feb 18 14:35 banjo.2.2.0
drwxrwxr-x 6 luis luis 4096 Mar  4 18:03 bene.git
-rw-r--r-- 1 luis luis 8980 Feb 16 18:32 examples.desktop


When I do it for the run.sh (the command prompt), I get the following:

Code: Select all
total 44
-rw-rw-r-- 1 luis luis 30558 Mar  4 16:52 iris.idt
-rw-rw-r-- 1 luis luis   244 Mar  4 16:52 iris.vd
drwxrwxr-x 2 luis luis  4096 Mar  4 18:10 resdir
-rwxrwxrwx 1 luis luis   492 Mar  4 16:52 run.sh


I've been trying to execute different variations of the chmod command to no avail. Would you be able to suggest ideas please?


Permissions of all the files under /home/luis/bene.git/bin directory should be set to "executable". You can go to that directory and run the following command:

chmod a+x *
cwyoo
Site Admin
 
Posts: 378
Joined: Sun Jun 22, 2014 2:38 pm

Next

Return to Bene

Who is online

Users browsing this forum: No registered users and 1 guest