#include <shark/Data/Dataset.h>#include <shark/Models/LinearClassifier.h>#include <shark/ObjectiveFunctions/Loss/ZeroOneLoss.h>#include <shark/Algorithms/Trainers/CSvmTrainer.h>#include <shark/Data/DataDistribution.h>Go to the source code of this file.
Typedefs | |
| typedef RealVector | VectorType |
Functions | |
| int | main (int argc, char **argv) |
| typedef RealVector VectorType |
Definition at line 13 of file CSvmLinear.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 18 of file CSvmLinear.cpp.
References shark::ZeroOneLoss< LabelType, OutputType >::eval(), shark::LabeledDataDistribution< InputType, LabelType >::generateDataset(), shark::LabeledData< InputT, LabelT >::inputs(), shark::QpSolutionProperties::iterations, shark::LabeledData< InputT, LabelT >::labels(), shark::LinearCSvmTrainer< InputType >::name(), shark::QpSolutionProperties::seconds, shark::QpConfig::solutionProperties(), shark::LinearCSvmTrainer< InputType >::train(), and shark::QpSolutionProperties::value.