MCPcopy Create free account
hub / github.com/davisking/dlib / train

Method train

dlib/test/svm_struct.cpp:424–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422 }
423
424 trained_function_type train (
425 const std::vector<sample_type>& all_samples,
426 const std::vector<label_type>& all_labels
427 ) const
428 {
429 scalar_type svm_objective = 0;
430 return train(all_samples, all_labels, svm_objective);
431 }
432
433 trained_function_type train (
434 const std::vector<sample_type>& all_samples,

Callers

nothing calls this directly

Calls 14

trainFunction · 0.85
is_learning_problemFunction · 0.85
reshapeFunction · 0.85
max_index_plus_oneFunction · 0.50
colmFunction · 0.50
rangeFunction · 0.50
sizeMethod · 0.45
set_max_cache_sizeMethod · 0.45
set_cMethod · 0.45

Tested by

no test coverage detected