Re: [R] bnlearn and TAN network

2016-02-29 Thread Marco Scutari
Hi Ross, On 29 February 2016 at 08:46, wrote: > The graph shows arcs between each of the variables and the output node > (classFFB) along with internal nodes showing parent/child relations between > 4 nodes. Yes, that is as expected. > However, when I look at the

Re: [R] bnlearn and TAN network

2016-02-29 Thread Marco Scutari
Hi Ross, On 29 February 2016 at 09:51, wrote: > The output node is classFFB. My understanding is that the model only > has one node linked directly to the output node: > ][matureTreeData.ESTATE|classFFB]. Actually not, e.g.

Re: [R] bnlearn and TAN network

2016-02-29 Thread ross.chapman
Hi Marco Thanks for your quick response >-Original Message- >From: Marco Scutari [mailto:marco.scut...@gmail.com] >Sent: Monday, 29 February 2016 8:24 PM >To: ross.chap...@ecogeonomix.com >Cc: r-help <r-help@r-project.org> >Subject: Re: [R] bnlearn and TAN netw

[R] bnlearn and TAN network

2016-02-29 Thread ross.chapman
Hi all, I have created a TAN network using bnlearn in R using the commands: TAN <- tree.bayes(training.data,"classFFB") fitted <- bn.fit(TAN,training.data,method="bayes") where training.data is a dataframe with 6 variables. I have produced a plot of the n