class_docstr: Accessor to ``sklearn.decomposition``.
docstr: Call ``sklearn.decomposition.sparce_encode`` using automatic mapping.
  
  - ``X``: ``ModelFrame.data``
docstr_tok: ["Call","``","sklearn.decomposition.sparce_encode","``","using","automatic","mapping",".","-","``","X","``",":","``","ModelFrame.data","``"]
code: def sparse_encode(self, dictionary, *args, **kwargs):
      """
      Call ``sklearn.decomposition.sparce_encode`` using automatic mapping.
  
      - ``X``: ``ModelFrame.data``
      """
      func = self._module.sparse_encode
      data = self._data
      code = func(data.values, dictionary, *args, **kwargs)
      code = self._constructor(code, index=data.index)
      return code
  
imports: from pandas_ml.core.accessor import _AccessorMethods
label_desc: Use image node_id 4 for calling the DecompositionMethods obj's underlying member method code with example usage: obj.sparse_encode(dictionary) and returns: code