In operations.py calculate_precision_recall() is called in line 67. When the replicate_groups has just one member, this fails. Before I investigate this in more detail: should we return NA in such cases with a warning or simply throw a more informative exception? At the moment a division by zero error is raised without additional information.
In operations.py calculate_precision_recall() is called in line 67. When the replicate_groups has just one member, this fails. Before I investigate this in more detail: should we return NA in such cases with a warning or simply throw a more informative exception? At the moment a division by zero error is raised without additional information.