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

Function get_feature_vector

dlib/svm/structural_svm_sequence_labeling_problem.h:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47 template <typename feature_extractor, typename sequence_type, typename EXP2>
48 void get_feature_vector(
49 std::vector<std::pair<unsigned long, double> >& feats,
50 const feature_extractor& fe,
51 const sequence_type& sequence,
52 const matrix_exp<EXP2>& candidate_labeling,
53 unsigned long position
54 )
55 {
56 get_feats_functor funct(feats);
57 fe.get_features(funct, sequence,candidate_labeling, position);
58 }
59
60 }
61

Callers 1

Calls 1

get_featuresMethod · 0.45

Tested by

no test coverage detected