9 #include <shogun/lib/config.h> 24 class CLSHKNNSolver :
public CKNNSolver
28 CLSHKNNSolver() : CKNNSolver()
34 virtual ~CLSHKNNSolver() { }
46 CLSHKNNSolver(
const int32_t k,
const float64_t q,
const int32_t num_classes,
const int32_t min_label,
const SGVector<int32_t> train_labels,
const int32_t lsh_l,
const int32_t lsh_t);
48 virtual CMulticlassLabels* classify_objects(CDistance* d,
const int32_t num_lab, SGVector<int32_t>& train_lab, SGVector<float64_t>& classes)
const;
50 virtual SGVector<int32_t> classify_objects_k(CDistance* d,
const int32_t num_lab, SGVector<int32_t>& train_lab, SGVector<int32_t>& classes)
const;
53 const char* get_name()
const {
return "LSHKNNSolver"; }
all of classes and functions are contained in the shogun namespace