76 std::map<std::pair<IonType, Size>, std::vector<double> > & observed_intensities,
78 Size number_of_regions
82 void trainSecondaryTypes_(
TextFile & info_outfile,
83 Size number_of_regions,
84 Size number_of_intensity_levels,
86 const std::vector<IonType> & ion_types,
87 const std::vector<bool> & is_primary
108 void trainModel(
const PeakMap & spectra,
const std::vector<AASequence> & annotations,
String filename,
Int precursor_charge);
116 void writeTrainingFile_(std::vector<DescriptorSet> & training_input, std::vector<double> & training_output,
String filename);
nested class
Definition: SvmTheoreticalSpectrumGenerator.h:82
A more convenient string class.
Definition: String.h:57
Representation of a peptide/protein sequence.
Definition: AASequence.h:107
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
SvmTheoreticalSpectrumGenerator::IonType IonType
Definition: SvmTheoreticalSpectrumGeneratorTrainer.h:68
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
Train SVM models that are used by SvmTheoreticalSpectrumGenerator.
Definition: SvmTheoreticalSpectrumGeneratorTrainer.h:65
A set of descriptors for a single training row.
Definition: SvmTheoreticalSpectrumGenerator.h:140
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
std::map< std::pair< IonType, Size >, std::vector< double > > ObservedIntensMap
Definition: SvmTheoreticalSpectrumGeneratorTrainer.h:70
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
int Int
Signed integer type.
Definition: Types.h:102
SvmTheoreticalSpectrumGenerator::DescriptorSet DescriptorSet
Definition: SvmTheoreticalSpectrumGeneratorTrainer.h:69
This class provides some basic file handling methods for text files.
Definition: TextFile.h:46