class_docstr: Test SparseMatrixOneHotFeaturizer.
docstr: Test simple one hot encoding
docstr_tok: ["Test","simple","one","hot","encoding"]
code: def test_sparsemat_arbitrary_default_charset(self):
      """
      Test simple one hot encoding
      """
      featurizer = SparseMatrixOneHotFeaturizer()
      sequence = "MMMQLA"
      encodings = featurizer.featurize([sequence])
      assert encodings[0].shape[0] == 6
      assert encodings[0].shape[1] == 25
  
file_path: deepchem/deepchem/feat/tests/test_sparse_matrix_one_hot_featurizer.py
imports: import unittest
  from deepchem.feat.molecule_featurizers import SparseMatrixOneHotFeaturizer
label_desc: Use image node_id 1 for calling the TestSparseMatrixOneHotFeaturizer obj's underlying member method code with example usage: obj.test_sparsemat_arbitrary_default_charset() without return types