bnlearn Questions

2

Based on a given network structure, I created a data frame of 100 instances for six binary variables(x1 to x6). So it's a 100 x 6 data frame of 0/1 values stored in a variable 'input_params'. Creat...
Grotto asked 14/9, 2017 at 20:0

1

Solved

While using the rpy2 library of Python to work with R. I get the following error message while trying to import a function of the bnlearn package: # Using R inside python import rpy2 import rpy2.r...
Wesleyanism asked 23/12, 2019 at 23:37

1

Trying to create a BN using BNlearn, but I keep getting an error; Error in check.data(data, allowed.types = discrete.data.types) : variable Variable1 must have at least two levels. It gives me t...
Maletta asked 28/2, 2019 at 9:40

1

I am trying to draw a Bsyesian Network in R with bnlearn. Here is the my R code library(bnlearn) library(Rgraphviz) first_variable <- rnorm(100) second_variable <- rnorm(100) third_variabl...
Lucan asked 21/3, 2017 at 17:40

1

Solved

I am trying to customize a plot of a graph learned with bnlearn using RGraphviz. When I have undirected edges, RGraphviz turns them into directed edges to both directions when I try to customize th...
Mayer asked 31/12, 2017 at 5:1

1

Solved

I am using the bnlearn package in R to train a Bayesian network. I have troubles with the following code (slightly modified bnlearn example code): library(bnlearn) data(learning.test) fitted = bn....
Tellurate asked 21/6, 2017 at 12:43
1

© 2022 - 2024 — McMap. All rights reserved.