seqme.metrics.Threshold#
- class seqme.metrics.Threshold(predictor, name, *, min_value=None, max_value=None)[source]#
Fraction of sequences with property within [min, max] a user-defined threshold.
- __call__(sequences)[source]#
Applies the predictor to the sequences and returns the fraction of sequences within the threshold.
- Parameters:
- Returns:
Fraction of sequences within the threshold, and the standard error.
- Return type:
Methods
Attributes
|
Name of the metric. |
|
Whether lower or higher scores indicate better performance. |