7 #include "ufjfmltk/core/Learner.hpp"
49 void setW(
const std::vector<double> &w) { this->solution.
w = w; }
Definition: Learner.hpp:18
std::shared_ptr< Data< T > > samples
Samples used in the model training.
Definition: Learner.hpp:21
Definition: Solution.hpp:13
mltk::Point< double > w
Weights vector.
Definition: Solution.hpp:17
Definition: regressor/Regressor.hpp:16
void setW(const std::vector< double > &w)
setW Set the weights vector of the regressor.
Definition: regressor/Regressor.hpp:49
Solution solution
Regressor solution.
Definition: regressor/Regressor.hpp:19
void setSolution(Solution solution)
setSolution Set a solution for the regressor.
Definition: regressor/Regressor.hpp:55
Solution * getSolutionRef()
getSolution Returns a reference to the solution of the regressor.
Definition: regressor/Regressor.hpp:39
Solution getSolution() const
getSolution Returns the solution of the regressor.
Definition: regressor/Regressor.hpp:33
UFJF-MLTK main namespace for core functionalities.
Definition: classifier/Classifier.hpp:11