EGiunchiglia/C-HMCNN

Confused about transpose of constraint matrix

utkutpcgl opened this issue · 1 comments

Thanks for your work!
For the output of get_constr_out to be correct, should not we take the transpose of the constraint matrix? The constrain matrix contains the ancestors at the last dimension, however, we want an ancestor to take the maximum of its descendants.

def get_constr_out(x, R):

Hi! Sorry for the delayed reply.

I checked it and there were misleading comments in the main file. I have now changed them (plus I have added further clarifications). Let me know if that helps :)