9 #ifndef BALL_QSAR_COMMON_H
37 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
46 Eigen::VectorXd predict(
const vector<double>& substance,
bool transform=1);
48 void saveToFile(
string filename);
50 void readFromFile(
string filename);
52 vector<double> getParameters()
const;
54 void setParameters(vector<double>& v);
58 vector<double> calculateProbabilities(
int activitiy_index,
int feature_index,
double feature_value);
60 int getNoResponseVariables();
69 unsigned int discretization_steps_;
73 Eigen::MatrixXd min_max_;
77 vector<MatrixVector, Eigen::aligned_allocator<MatrixVector> > probabilities_;