seqme.metrics.Subset#
- class seqme.metrics.Subset(metric, *, n_samples, seed=0)[source]#
A wrapper to approximate expensive metrics by evaluating a subset of the sequences in a group.
- __call__(sequences)[source]#
Compute the metric on a subset of sequences.
Methods
Attributes
|
Name of the metric. |
|
Whether lower or higher scores indicate better performance. |