Get a directed acyclic graph using the method hill climbing.
It is a mathematical optimization technique which belongs to the
family of local search. It is an iterative algorithm which deals with
discrete and continuous variables.
Usage
LearningHC(dataset, numIntervals = NULL)
Arguments
dataset
A dataset with discrete and continuous variables. Discrete variables
must be of class "factor", if not they are transformed into factores.
numIntervals
A "numeric" value containing the number of intervals
to create a discrete dataset. The method used to split the values is by equal width.
By default it is NULL and means the variables are not discretized to get the network.
Value
The output is a "bn" object containing the learned graph.