1 #ifndef BALL_QSAR_REGISTRY_H
2 #define BALL_QSAR_REGISTRY_H
4 #ifndef MODEL_FACTORY_H
10 #ifdef BALL_HAS_LIBSVM
21 typedef Model* (*CreateKernel1) (
const QSARData& q,
int k,
double p1,
double p2);
46 const std::map<unsigned int,String>* getStatistics();
121 int getModelNo(
String model_name);
123 String getClassificationStatisticName(
unsigned int no);
124 String getRegressionStatisticName(
unsigned int no);
125 String getFeatureSelectionName(
unsigned int no);
126 String getValidationName(
unsigned int no);
127 const std::map<unsigned int,String>* getClassificationStatistics();
128 const std::map<unsigned int,String>* getRegressionStatistics();
138 std::map<int,RegistryEntry> registered_models;
141 std::map<String,int> model_map;
143 std::map<unsigned int,String> classification_statistics;
144 std::map<unsigned int,String> regression_statistics;
145 std::map<unsigned int,String> feature_selection_names;
146 std::map<unsigned int,String> validation_names;
155 #endif // BALL_QSAR_REGISTRY_H
Model *(* CreateMethod)(const QSARData &q)
int default_no_permutations
double default_gridsearch_par1_start
int default_gridsearch_recursion
double default_kernel_par2
Model *(* CreateKernel2)(const QSARData &q, String s1, String s2)
CreateKernel1 createKernel1
vector< String > parameterNames
double default_kernel_par1
int default_gridsearch_steps
vector< double > parameterDefaults
std::multiset< int > optimizableParameters
BALL_EXTERN_VARIABLE const double k
double default_valdition_fraction
CreateKernel2 createKernel2
Model *(* CreateKernel1)(const QSARData &q, int k, double p1, double p2)
double default_gridsearch_stepwidth
std::map< int, RegistryEntry >::iterator RegistryEntryIterator
double default_gridsearch_par2_start
int default_no_boostrap_samples
double default_correlation_cutoff