#include <OpenMS/ANALYSIS/OPENSWATH/MRMFeatureSelector.h>
|
| | MRMFeatureSelector_test ()=default |
| |
| | ~MRMFeatureSelector_test () override=default |
| |
| void | constructTargTransList_ (const FeatureMap &features, std::vector< std::pair< double, std::string > > &time_to_name, std::map< std::string, std::vector< Feature > > &feature_name_map, const bool select_transition_group) const |
| |
| double | weightScore_ (const double score, const LambdaScore lambda_score) const |
| |
| double | computeScore_ (const Feature &feature, const std::map< std::string, LambdaScore > &score_weights) const |
| |
| std::string | removeSpaces_ (std::string str) const |
| |
| void | optimize (const std::vector< std::pair< double, std::string > > &time_to_name, const std::map< std::string, std::vector< Feature > > &feature_name_map, std::vector< std::string > &result, const SelectorParameters ¶meters) const override |
| | Build the quadratic LP problem for time_to_name and write the names of selected features to result.
|
| |
| | MRMFeatureSelector ()=default |
| |
| virtual | ~MRMFeatureSelector ()=default |
| |
| void | selectMRMFeature (const FeatureMap &features, FeatureMap &selected_filtered, const SelectorParameters ¶meters) const |
| |
|
| enum class | VariableType { INTEGER = 1
, CONTINUOUS
} |
| |
| enum class | LambdaScore {
LINEAR = 1
, INVERSE
, LOG
, INVERSE_LOG
,
INVERSE_LOG10
} |
| |
| Int | addVariable_ (LPWrapper &problem, const std::string &name, const bool bounded, const double obj, const VariableType variableType) const |
| |
| double | computeScore_ (const Feature &feature, const std::map< std::string, LambdaScore > &score_weights) const |
| |
| void | addConstraint_ (LPWrapper &problem, const std::vector< Int > &indices, const std::vector< double > &values, const std::string &name, const double lb, const double ub, const LPWrapper::Type param) const |
| |
◆ MRMFeatureSelector_test()
◆ ~MRMFeatureSelector_test()
◆ computeScore_()
| double computeScore_ |
( |
const Feature & |
feature, |
|
|
const std::map< std::string, LambdaScore > & |
score_weights |
|
) |
| const |
|
inline |
◆ constructTargTransList_()
| void constructTargTransList_ |
( |
const FeatureMap & |
features, |
|
|
std::vector< std::pair< double, std::string > > & |
time_to_name, |
|
|
std::map< std::string, std::vector< Feature > > & |
feature_name_map, |
|
|
const bool |
select_transition_group |
|
) |
| const |
|
inline |
◆ removeSpaces_()
| std::string removeSpaces_ |
( |
std::string |
str | ) |
const |
|
inline |
◆ weightScore_()
| double weightScore_ |
( |
const double |
score, |
|
|
const LambdaScore |
lambda_score |
|
) |
| const |
|
inline |
◆ selector_