Closed Alice86 closed 4 years ago
Thanks for your comments!
For 1, I'm not sure I understand what you mean exactly - each of those is a special case for dealing with marginals that have no Y's in them (these marginals are observable, so we just need to write down how often the lambda votes co-occur).
Thanks for pointing out 2 and 3, added in the fixes!
Thanks for your comments!
For 1, I'm not sure I understand what you mean exactly - each of those is a special case for dealing with marginals that have no Y's in them (these marginals are observable, so we just need to write down how often the lambda votes co-occur).
Thanks for pointing out 2 and 3, added in the fixes!
Missing 's' in 'easy_marginals' and 'lf_vecs', variable 'lambda_moment_vals' should be 'lambda_marginals' in the original code.
Hello!
It is a fascinating work and thank you for sharing the code. I have been playing with the code for a week, and feel like to brought to your attention some small bugs.
When in a maximal clique there are all observed lambdas and no latent variable y, three typos on line 688, line 814 and line 984.
After line 309, miss a condition to break from a for-loop when a triplet is found (produce triplets of two).
In the tutorials, the accuracy computed for Majority Voting is incorrect, as the prediction are not converted to {+1, -1} to match the ground truth but instead {True, False}:
Hope it helps and thanks again!