class_docstr: Wrapper utility class that allows models to used in scikit-learn's
  ``GridSearchCV`` API. It follows the style of Keras' own wrapper.
  
  A future release of **baikal** plans to remove this class and instead
  include a custom ``GridSearchCV`` API, based on the original scikit-learn
  implementation, that can handle baikal models natively.
  
  Parameters
  ----------
  build_fn
      A function that takes no arguments and builds and returns a baikal Model.
  
      Note that, in order to specify which parameters of which steps to tune
      using a dictionary keyed by ``<step>__<parameter>``, you *must* pass a
      name to the appropriate steps when building the model in this function.
  
  params
      Dictionary mapping parameter names to their values. Valid parameter
      names are 'build_fn' and any parameter the wrapped model can take
      (in the form ``<step>__<parameter>``).
docstr: Fit wrapped model.
  
  Parameters
  ----------
  X
      Input data to the model.
  y
      Target data to the model.
  fit_params
      Parameters passed to the fit method of each model step, where each
      parameter name has the form ``<step-name>__<parameter-name>``.
  
  Returns
  -------
  self
docstr_tok: ["Fit","wrapped","model",".","Parameters","--","--","--","--","--","X","Input","data","to","the","model",".","y","Target","data","to","the","model",".","fit_params","Parameters","passed","to","the","fit","method","of","each","model","step",",","where","each","parameter","name","has","the","form","``","<","step-name",">","__","<","parameter-name",">","``",".","Returns","--","--","--","-","self"]
code: def fit(self, X, y=None, **fit_params):
      """Fit wrapped model.
  
      Parameters
      ----------
      X
          Input data to the model.
      y
          Target data to the model.
      fit_params
          Parameters passed to the fit method of each model step, where each
          parameter name has the form ``<step-name>__<parameter-name>``.
  
      Returns
      -------
      self
      """
      self._model.fit(X, y, **fit_params)
      return self
  
file_path: baikal/baikal/sklearn.py
imports: from typing import Dict, Any, Callable
  from baikal import Model
label_desc: Use image node_id 4 for calling the SKLearnWrapper obj's underlying member method code with example usage: obj.fit(X, y) and returns: self