#include <shark/Data/SparseData.h>
#include <shark/ObjectiveFunctions/Loss/CrossEntropy.h>
#include <shark/ObjectiveFunctions/Regularizer.h>
#include <shark/Algorithms/GradientDescent/LBFGS.h>
#include <shark/ObjectiveFunctions/ErrorFunction.h>
#include <shark/Models/LinearModel.h>
#include <shark/Core/Timer.h>
#include <iostream>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 14 of file logistic_regression_LBFGS.cpp.
References shark::Classifier< LinearModel< VectorType > >::decisionFunction(), shark::importSparseData(), shark::AbstractLineSearchOptimizer::init(), shark::inputDimension(), shark::LabeledData< InputT, LabelT >::inputs(), shark::LabeledData< InputT, LabelT >::labels(), shark::numberOfClasses(), shark::ResultSet< SearchPointT, ResultT >::point, shark::Classifier< LinearModel< VectorType > >::setParameterVector(), shark::ErrorFunction::setRegularizer(), shark::AbstractSingleObjectiveOptimizer< PointType >::solution(), shark::AbstractLineSearchOptimizer::step(), and shark::Timer::stop().