Open xwshen51 opened 3 years ago
In cdt.metrics.SID_CPDAG, the prediction is not converted to a CPDAG. Currently one needs to convert a DAG to a CPDAG before inputting it to the function.
It may be better to add predictions = get_CPDAG(predictions) as done in SHD_CPDAG.
predictions = get_CPDAG(predictions)
Thanks for your great contribution!
Hello ! Whoops ! Yes we should do this step before, thanks for the feedback !
In cdt.metrics.SID_CPDAG, the prediction is not converted to a CPDAG. Currently one needs to convert a DAG to a CPDAG before inputting it to the function.
It may be better to add
predictions = get_CPDAG(predictions)
as done in SHD_CPDAG.Thanks for your great contribution!