#include "LearningMethod.h"

namespace lib4neuro {
    //TODO NOT SAFE!!!!
    std::vector<double>* LearningMethod::get_parameters() {
        return &this->optimal_parameters;
    }

    void GradientLearningMethod::optimize(ErrorFunction& ef,
                                          std::ofstream* ofs) {
        this->optimize(ef,
                       ofs);
    }
}