#include <shark/Data/Csv.h>
#include <shark/Models/NearestNeighborModel.h>
#include <shark/Algorithms/NearestNeighbors/TreeNearestNeighbors.h>
#include <shark/Models/Trees/KDTree.h>
#include <shark/ObjectiveFunctions/Loss/ZeroOneLoss.h>
#include <shark/Data/DataView.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 47 of file KNNTutorial.cpp.
References shark::ZeroOneLoss< LabelType, OutputType >::eval(), shark::importCSV(), shark::inputDimension(), shark::LabeledData< InputT, LabelT >::inputs(), shark::LabeledData< InputT, LabelT >::labels(), shark::LAST_COLUMN, shark::numberOfClasses(), shark::LabeledData< InputT, LabelT >::numberOfElements(), and shark::splitAtElement().