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 model in the TAN object and th
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.
[matureTreeData.YEAR|classFFB:matureTreeData.ESTATE] means
P(matureTre
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
>Subject: Re: [R] bnlearn and TAN network
>
>Hi Ross,
>
&g
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 network using graphviz.plot:
4 matches
Mail list logo