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

Function is_learning_problem_impl

dlib/svm/svm.h:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 typename U
31 >
32 inline bool is_learning_problem_impl (
33 const T& x,
34 const U& x_labels
35 )
36 {
37 return is_col_vector(x) &&
38 is_col_vector(x_labels) &&
39 x.size() == x_labels.size() &&
40 x.size() > 0;
41 }
42
43 template <
44 typename T,

Callers 2

is_learning_problemFunction · 0.85

Calls 2

is_col_vectorFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected