fun depends(parent: Int, child: Int) { dag.addNode(child) dag.addNode(parent) dag.addEdge(parent, child) }
Adds a dependency relation ship between two variables that will be in the network . The integer value corresponds the the index of the i'th categorical variable , where the class target 's value is the number of categorical variables .