90 return features.empty() && !feature_matrix.empty() ? is_decoy.size() : features.size();
96 if (!features.empty())
return features.front().size();
97 return feature_matrix.empty() ? 0 : feature_names.size();
101 const double*
row(
size_t i)
const
103 return !features.empty() ? features[i].data() : feature_matrix.data() + i * feature_names.size();
139 int format_version = 1;
std::vector< std::string > StringList
Vector of String.
Definition TypeAliases.h:39
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::vector< double > peps
Definition PercolatorTypes.h:112
std::vector< double > scores
SVM discriminant score per row.
Definition PercolatorTypes.h:110
std::vector< double > peptide_peps
Definition PercolatorTypes.h:117
std::vector< double > q_values
q-value per row
Definition PercolatorTypes.h:111
StringList feature_names
Definition PercolatorTypes.h:144
std::vector< double > peptide_q_values
Definition PercolatorTypes.h:116
std::string normalizer_type
Definition PercolatorTypes.h:153
std::vector< double > weights
Size = n_features + 1. The last entry is the bias.
Definition PercolatorTypes.h:146
Trained Percolator model: averaged SVM weights in raw feature space.
Definition PercolatorTypes.h:137
Output from Percolator::rescore. Aligned 1:1 with the rows of the RescoreInput (RescoreInput::rowCoun...
Definition PercolatorTypes.h:109