/usr/include/BALL/QSAR/automaticModelCreator.h is in libball1.4-dev 1.4.3~beta1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #include <BALL/COMMON/global.h>
#include <BALL/QSAR/Model.h>
#include <BALL/QSAR/QSARData.h>
namespace BALL
{
namespace QSAR
{
/** A class for automatic creation of the most appropriate QSAR model.\n
All available model-types are therefore evaluated using nested cross-validation and several successive feature selection steps. */
class BALL_EXPORT AutomaticModelCreator
{
public:
AutomaticModelCreator(const QSARData* data);
/** Start the search for most appropriate QSAR model for the current data. \n
All available model-types are therefore evaluated using nested cross-validation and several successive feature selection steps. \n
The model that obtained the highest nested prediction quality (>min_quality_) will be returned by this function. \n
If no model achieved a quality higher than min_quality_, 0 will be returned. */
Model* generateModel();
void setData(const QSARData* data);
void setMinQuality(double min_quality);
private:
void optimizeParameters(Model* model);
void selectFeatures(Model* model);
const QSARData* data_;
double min_quality_;
};
}
}
|