edit_dist_dag: A function to calculate the edit distance from the learned to...

Description Usage Arguments

View source: R/edit_dist_dag.R

Description

The true and learned DAGs must be stored as adjacent matrix. The output is a list consists of false positive, false negative, precision, recall and edit distance. Edit distance between two DAGs is defined as the minimum number of arc deletion and addition to turn dagL to dagT.

Usage

1
edit_dist_dag(dagL, dagT)

Arguments

dagL

The learned DAG.

dagT

The true DAG.


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.