9 #ifndef BALL_QSAR_COMMON_H
43 Eigen::VectorXd predict(
const vector<double>& substance,
bool transform=1);
45 vector<double> getParameters()
const;
47 void setParameters(vector<double>& v);
49 void saveToFile(
string filename);
53 void readFromFile(
string filename);
57 vector<double> calculateProbabilities(
int activitiy_index,
int feature_index,
double feature_value);
59 int getNoResponseVariables();
73 static const double sqrt2Pi_;
std::vector< Eigen::MatrixXd, Eigen::aligned_allocator< Eigen::MatrixXd > > MatrixVector