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

Method num_features

examples/sequence_labeler_ex.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 typedef std::vector<unsigned long> sequence_type;
74
75 unsigned long num_features() const
76 /*!
77 ensures
78 - returns the dimensionality of the PSI() feature vector.
79 !*/
80 {
81 // Recall that we are defining a HMM. So in this case the PSI() vector
82 // should have the same dimensionality as the number of parameters in the HMM.
83 return num_label_states*num_label_states + num_label_states*num_sample_states;
84 }
85
86 unsigned long order() const
87 /*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected