43 virtual void saveToFile(
string filename);
45 virtual void readFromFile(
string filename);
47 virtual Eigen::VectorXd predict(
const vector<double>& substance,
bool transform);
49 void operator=(
const Model& m);
51 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
77 void calculateOffsets();
79 void readKernelParametersFromFile(std::ifstream& in);
80 void saveKernelParametersToFile(std::ofstream& out);
81 void saveTrainingResult(std::ofstream& out);
82 void readTrainingResult(std::ifstream& input,
int no_substances,
int no_y);