save_model {bnlearn} R Documentation

save bnlearn model

Description

Usage

save_model(bnlearn, dir);

Arguments

bnlearn

the trained BNLearnWorkflow network model object, which is the output of the bnlearn. [as BNLearnWorkflow]

dir

[as string]

Details

the learned bayesian network model will be saved as two tsv table files in the given output directory: the network_structure.tsv file for the network structure data and the network_parameters.tsv file for the conditional probability distribution(CPD) parameter data of each network node.

Authors

biosystem

Value

TRUE will be returns if the network model data has been saved into the given directory successfully.

clr value class

Examples


[Package bnlearn version 1.0.0.0 Index]