scSemiProfiler.utils.errorcurve¶
-
scSemiProfiler.utils.errorcurve(upperbounds, lowerbounds, semierrors, naiveerrors, batch=2, total_samples=12)[source]¶ Visualize the error and cost as more representatives are sequenced.
- Parameters
upperbounds (
list) – The error upper bounds calculated in each roundlowerbounds (
list) – The error lower bounds calculated in each roundsemierrors (
list) – The errors of semi-profilingnaiveerrors (
list) – The errors of the selection-only methodbatch (
int) – Representative selection batch sizetotal_samples (
int) – The total number of samples in the cohort
- Return type
- Returns
None
Example
>>> errorcurve(upperbounds, lowerbounds, semierrors, naiveerrors, batch=2,total_samples = 12)