Repository navigation
Conversation
…classifier
The FDR classifier trains for 10 epochs at a constant learning rate and predicts
with the weights after the last minibatch. Where the 1% cut falls then depends on
the last noisy minibatch updates, so searches that differ only in the random seed
keep noticeably different precursors.
Two training settings, applied to every classifier fit (calibration rounds and
final round alike), on by default:
- fdr.lr_schedule: "cosine" decays the learning rate from its start value to zero
over all minibatches of the fit ("constant" is the previous training);
- fdr.weight_averaging: true predicts with the network weights averaged over the
minibatches of the last epoch.
The FDR manager reads both settings from the config and configures the classifier
before each fit; the classifier's own defaults are unchanged, so "constant" +
false reproduces the previous training.
HeLa 200 ng 2 min, 6 raw files, 5 seeds each: the median difference in human
precursor IDs between two searches dropped from 0.95% to 0.17%, and the
precursors per search rose from 101.1k to 103.0k. Applying it to the calibration
fits as well halves the difference in entrapment FDP between two seeds for the
same raw file (mean 0.11 -> 0.06 points, worst pair 0.40 -> 0.14) at the same IDs
and run time.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
was reviewed before here #944
Was merged into wrong branch and dropped by accident.