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

Method order

examples/sequence_labeler_ex.cpp:86–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 unsigned long order() const
87 /*!
88 ensures
89 - This object represents a Markov model on the output labels.
90 This parameter defines the order of the model. That is, this
91 value controls how many previous label values get to be taken
92 into consideration when performing feature extraction for a
93 particular element of the input sequence. Note that the runtime
94 of the algorithm is exponential in the order. So don't make order
95 very large.
96 !*/
97 {
98 // In this case we are using a HMM model that only looks at the
99 // previous label.
100 return 1;
101 }
102
103 unsigned long num_labels() const
104 /*!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected