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

Method get_features

dlib/test/assignment_learning.cpp:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 void get_features (
71 const lhs_element& left,
72 const rhs_element& right,
73 feature_vector_type& feats
74 ) const
75 {
76 feats.clear();
77 feats.push_back(make_pair(0,squared(left-right)(0)));
78 feats.push_back(make_pair(1,squared(left-right)(1)));
79 feats.push_back(make_pair(2,squared(left-right)(2)));
80 }
81
82 };
83

Callers

nothing calls this directly

Calls 3

squaredFunction · 0.85
clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected