Statistics for A Machine-Learning-Based Algorithm for Peptide Feature Detection from Protein Mass Spectrometry Data