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