gulps.analysis.coverage.SampledCost¶
- class gulps.analysis.coverage.SampledCost(costs)[source]¶
Bases:
objectCosts of the selected sentences over a finite target sample.
- percentile(q)¶
The smallest sampled cost with at least a
qfraction of samples at or below it.Returns 0.0 for an empty sample.
- plot(ax=None)¶
Plot the sampled cost histogram on
ax, or on new axes.- Parameters:
ax (matplotlib.axes.Axes | None)
- Return type: