Skip to main content
Figure 3 | BMC Bioinformatics

Figure 3

From: A cross-validation scheme for machine learning algorithms in shotgun proteomics

Figure 3

The algorithm for cross-validation. Given a set, K, of tuples ( f , isDecoy, g) representing PSMs, where f is a vector of PSM features, isDecoy is a boolean variable indicative of whether the PSM is a decoy PSM or not, and g {1, 2, 3} is a tag indicating which cross-validation set the tuple should be allocated to, the algorithm returns a set of PSMs. The function InternalCrossValidation() is used for nested cross-validation within the training set and returns the most efficient set of learning hyperparameters. The SVMTrain() function uses the training set and hyperparameters and returns the learned feature weights needed to score the PSM.

Back to article page