seqme.metrics.HitRate#
- class seqme.metrics.HitRate(condition_fn, *, name='Hit-rate')[source]#
Fraction of sequences that satisfy a user-defined condition.
- __call__(sequences)[source]#
Applies the filter to count hits and returns the average hit-rate.
- Parameters:
- Returns:
Proportion of sequences where
condition_fnreturnedTrue, and standard error.- Return type:
Methods
Attributes
|
Name of the metric. |
|
Whether lower or higher scores indicate better performance. |