Repository navigation
Benchmarks
Reproduce from benchmarks/. Scratch JSON in a local directory is not a published number. I will not quote a speedup that I cannot name a harness for. Scripts that import old/calculate-loq.py need uv sync --extra legacy (lmfit).
-
bench_knot_vs_curvefit.py: PiecewiseCF vs PiecewiseWLS on the 27-peptide demo (data/demo/one_protein.csv). Single-fit timing, full pipeline atn_boot=200by default, LOD/LOQ agreement, synthetic stress cases. -
bench_vectorized_boot.py: vectorized CF bootstrap vs the loop fallback. -
bench_delta_vs_boot.py: PiecewiseCF bootstrap LOQ vsloq_delta()on that same demo,B=200, seed 42, five timing reps by default. -
bench_window_rules.py: FDR under null, including window rules. Used withcomparison_report.ipynb. -
bench_simulation.py,bench_n_concentrations.py,bench_n_replicates.py,bench_real_data.py: older WLS/CV/original comparisons.
comparison_report.ipynb is a frozen report for OriginalWLS, OriginalCV, PiecewiseWLS, and EmpiricalCV. It does not include PiecewiseCF.
Machine notes in older text assumed an AMD Ryzen 9 3950X. Re-runs on another host will differ.
v0.3.0 CHANGELOG, from bench_knot_vs_curvefit.py / bench_vectorized_boot.py on that machine: full pipeline (vectorized CF vs WLS, n_boot=200) recorded as 15.8x; single-fit median 2.7x (range 1.3-6.3x on 27 peptides); vectorized vs loop bootstrap 6.8x at 500 replicates. Those are changelog records, not constants of the algorithm.
v0.4.0 CHANGELOG, bench_delta_vs_boot.py, demo 27 peptides, fit+LOQ about
FDR figures that mix concentration density with replicate count belonged to different experiments in comparison_report.ipynb. The per-model pages quote the notebook in that context. I am not reprinting a single table that pretends they were one design.
uv run python benchmarks/bench_knot_vs_curvefit.py
uv run python benchmarks/bench_delta_vs_boot.py
uv run python benchmarks/bench_window_rules.pyloqculate v0.4.1 | Home | Getting started | CLI reference | Troubleshooting | Changelog | MIT License
loqculate Wiki
Start
Models
Use loqculate
Solve a problem
Contribute