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

Method train

dlib/test/svm_struct.cpp:343–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 }
342
343 trained_function_type train (
344 const std::vector<sample_type>& all_samples,
345 const std::vector<label_type>& all_labels
346 ) const
347 {
348 scalar_type svm_objective = 0;
349 return train(all_samples, all_labels, svm_objective);
350 }
351
352 trained_function_type train (
353 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