leafs_precision¶ Calculate the precision of the leafs. Parameters¶ key (str) documents (list) leafs (numpy.ndarray) documents_to_leaf (dict)