miicTeam / miic_R_package

Learning causal or non-causal graphical models using information theory
GNU General Public License v3.0
26 stars 3 forks source link

Review input parameters check #129

Closed franck-simon closed 1 year ago

franck-simon commented 1 year ago

Revision of input parameters checks, more checks with warnings and few critical errors. Remaining critical errors: On data:

Changes on some defaults: latent = "oriention" and propagation=FALSE now

Parameters, state_order and if provided, true edges and black box, after being intialized by default or checked/corrected, are returned in the MIIC ouput.

louise-rb-dupuis commented 1 year ago

As discussed, I'm only testing this branch and we will review code later. On input data all critical errors were rightfully triggered (but I didn't know how to obtain "no variable" though). On state_order all critical errors were rghtfully triggered. Test of black_box and true_edges ok.

Parameters, state_order and if provided, true edges and black box, after being intialized by default or checked/corrected, are returned in the MIIC ouput OK