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

Method label_sequence

dlib/svm/sequence_labeler.h:280–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 }
279
280 void label_sequence (
281 const sample_sequence_type& x,
282 labeled_sequence_type& y
283 ) const
284 {
285 // make sure requires clause is not broken
286 DLIB_ASSERT(num_labels() > 0,
287 "\t void sequence_labeler::label_sequence(x,y)"
288 << "\n\t You can't have no labels."
289 << "\n\t this: " << this
290 );
291
292 find_max_factor_graph_viterbi(map_prob(x,fe,weights), y);
293 }
294
295 private:
296

Callers 2

segment_sequenceMethod · 0.80
test_sequence_labelerFunction · 0.80

Calls 2

map_probClass · 0.70

Tested by 1

test_sequence_labelerFunction · 0.64