class_docstr: Examples from Wikipedia:
  
  - http://en.wikipedia.org/wiki/Hidden_Markov_model
  - http://en.wikipedia.org/wiki/Viterbi_algorithm
class_docstr_tok: ["Examples","from","Wikipedia",":","-","http",":","\/\/en.wikipedia.org\/wiki\/Hidden_Markov_model","-","http",":","\/\/en.wikipedia.org\/wiki\/Viterbi_algorithm"]
code: def test_decode_map(self, implementation):
      X = [[0], [1], [2]]
      h = self.new_hmm(implementation)
      _log_prob, state_sequence = h.decode(X, algorithm="map")
      assert_allclose(state_sequence, [1, 0, 0])
  
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from hmmlearn import hmm
  from .None import assert_log_likelihood_increasing, normalized
label_desc: Use image node_id 3 for calling the TestCategoricalAgainstWikipedia obj's underlying member method code with example usage: obj.test_decode_map(implementation) without return types