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

Method train

dlib/test/svm_struct.cpp:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 trained_function_type train (
263 const std::vector<sample_type>& all_samples,
264 const std::vector<label_type>& all_labels
265 ) const
266 {
267 scalar_type svm_objective = 0;
268 return train(all_samples, all_labels, svm_objective);
269 }
270
271 trained_function_type train (
272 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