#include <shark/Data/Csv.h>
#include <shark/Algorithms/GradientDescent/CG.h>
#include <shark/ObjectiveFunctions/ErrorFunction.h>
#include <shark/ObjectiveFunctions/Loss/SquaredLoss.h>
#include <shark/Models/LinearModel.h>
#include <iostream>
Go to the source code of this file.
Functions | |
RegressionDataset | loadData (const std::string &dataFile, const std::string &labelFile) |
int | main () |
RegressionDataset loadData | ( | const std::string & | dataFile, |
const std::string & | labelFile | ||
) |
Definition at line 14 of file regressionTutorial.cpp.
References shark::importCSV().
Referenced by main().
int main | ( | ) |
Definition at line 30 of file regressionTutorial.cpp.
References shark::SquaredLoss< OutputType, LabelType >::eval(), shark::AbstractLineSearchOptimizer::init(), shark::ErrorFunction::init(), shark::inputDimension(), shark::LabeledData< InputT, LabelT >::inputs(), shark::labelDimension(), shark::LabeledData< InputT, LabelT >::labels(), loadData(), shark::LabeledData< InputT, LabelT >::numberOfElements(), shark::ResultSet< SearchPointT, ResultT >::point, shark::LinearModel< InputType, ActivationFunction >::setParameterVector(), shark::AbstractSingleObjectiveOptimizer< PointType >::solution(), shark::splitAtElement(), shark::AbstractLineSearchOptimizer::step(), and shark::ResultSet< SearchPointT, ResultT >::value.