class_docstr: Accessor to ``sklearn.model_selection``.
class_docstr_tok: ["Accessor","to","``","sklearn.model_selection","``","."]
docstr: Call ``sklearn.learning_curve.validation_curve`` using automatic mapping.
  
  - ``X``: ``ModelFrame.data``
  - ``y``: ``ModelFrame.target``
docstr_tok: ["Call","``","sklearn.learning_curve.validation_curve","``","using","automatic","mapping",".","-","``","X","``",":","``","ModelFrame.data","``","-","``","y","``",":","``","ModelFrame.target","``"]
code: def validation_curve(
      self, estimator, param_name, param_range, *args, **kwargs
  ):
      """
      Call ``sklearn.learning_curve.validation_curve`` using automatic mapping.
  
      - ``X``: ``ModelFrame.data``
      - ``y``: ``ModelFrame.target``
      """
      func = self._module.validation_curve
      data = self._data
      target = self._target
      tr_score, te_score = func(
          estimator,
          X=data.values,
          y=target.values,
          param_name=param_name,
          param_range=param_range,
          *args,
          **kwargs,
      )
      return tr_score, te_score
  
file_path: pandas-ml/pandas_ml/skaccessors/model_selection.py
imports: import warnings
  import pandas
  from pandas_ml.core.accessor import _AccessorMethods
label_desc: Use image node_id 10 for calling the ModelSelectionMethods obj's underlying member method code with example usage: obj.validation_curve(estimator, param_name, param_range) and returns: tr_score,  te_score