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

Method num_features

dlib/svm/sequence_segmenter.h:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 unsigned long num_features() const
74 {
75 const unsigned long NL = ss_feature_extractor::use_BIO_model ? 3 : 5;
76 if (ss_feature_extractor::use_high_order_features)
77 return NL + NL*NL + (NL*NL+NL)*fe.num_features()*fe.window_size();
78 else
79 return NL + NL*NL + NL*fe.num_features()*fe.window_size();
80 }
81
82 unsigned long order() const
83 {

Callers 8

get_featuresMethod · 0.45
sequence_segmenterMethod · 0.45
assignment_functionMethod · 0.45
sequence_labelerMethod · 0.45
get_num_dimensionsMethod · 0.45
get_num_dimensionsMethod · 0.45
trainMethod · 0.45

Calls 1

window_sizeMethod · 0.45

Tested by

no test coverage detected