Checks if an eval_report object is valid
isValidEval_report.Rd
Checks if an eval_report object is valid
Details
This function verifies if the 'eval_report_obj' object corresponds to an eval_report object generated by the 'evaluation_report()' function. It also ensures that the object is a list containing the expected elements: 'data', 'identity', 'precision_recall', 'roc', 'counts', and 'performances'. If the object does not match these expectations, an error message is displayed.
Examples
if (FALSE) {
# Using isValidEval_report
eval_report <- evaluation_report()
isValidEval_report(eval_report)
}