In the docstring for supervised versions of weakly supervised algorithms, one has to look at the source code to find out how many constraints are constructed by default (when num_constraints=None). This should be explained in the docstring for num_constraints