CalculatePrecisionAndRecallForMultiple: This function is used to compute the results for a simulation...

Description Usage Arguments Value

View source: R/functions.R

Description

This function is used to compute the results for a simulation study. It computes individual precision, recall, hamming distance and balanced accuracy of each learned DBN structure and then calculates the mean and sd of all the individual results.

Usage

1

Arguments

DBNList

a list of learned DBN structures

datasets

a list of datasets simulated using the SimulateData() function. It holds the true DBN network structure (Adjaceny matrix)

Value

a list of different parameters:"precision_mean","precision_sd","recall_mean", "recall_sd", "hamming_mean", "hamming_sd", "TN_mean", "TN_sd","FN_mean" , "FN_sd", "FP_mean", "FP_sd", "TP_mean", "TP_sd", "Accuracy" , "Accuracy_sd".


HamdaBinteAjmal/DBN4GRN documentation built on Dec. 27, 2021, 2:08 p.m.