Currently, recall_at_precision returns the threshold where the precision is
closest to the target precision, meaning the precision at the threshold can be smaller or larger than the target precision. Some application requries the precision to be strictly above some target precision. For such applications, it's preferrable to return recall of 0 if we are not able to reach the target precision. The change is compatible with existing usage. PiperOrigin-RevId: 209981819
Loading
Please sign in to comment