code: def test_morelabels():
      y = np.array([0, 0, 1])
      mc = BlankClassifier()
      out = mc._one_hot(y=y, n_labels=4, dtype="float")
      expect = np.array(
          [
              [1.0, 0.0, 0.0, 0.0],
              [1.0, 0.0, 0.0, 0.0],
              [0.0, 1.0, 0.0, 0.0],
          ]
      )
      np.testing.assert_array_equal(expect, out)
  
imports: import numpy
  from mlxtend._base import _MultiClass
label_desc: Use image node_id 3 for calling a global function with example usage: test_morelabels() without return types