Description Usage Arguments Value Examples
Function to sample instances from an artificial BN
1 | sampleBN(model, is_dir, cluster_id, num_simulations)
|
model |
is a list generated by the functions generate_artificial_BN or clusteringSomas |
is_dir |
is a binary array 1xn where n is the number of variables, it takes value 1 when the variable is directional and 0 if the variable is linear |
cluster_id |
the id of the cluster from the instance should be sample |
num_simulations |
number of instances to simulate from |
a matrix with the data simulated
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.