edit_dist_graph: The edit distance from the learned to the true undirected...

Description Usage Arguments

View source: R/edit_dist_graph.R

Description

The edit distance from the learned to the true undirected graph Both graphs are stored in adjacency matrix. The outcome is a list consists of tp, fp, tn, fn, precision, recall, F1 score and edit distance.

Usage

1
edit_dist_graph(learned, true, debug = FALSE)

Arguments

learned

The learned graph stored in an adjacency matrix format.

true

The true graph stored in an adjacency matrix format.

debug

A boolean argument to show steps of the backtracking algorithm.


kelvinyangli/wrsgraph documentation built on Sept. 6, 2019, 10 a.m.