docstr: See ``NeuralNet.fit``.
  
  In contrast to ``NeuralNet.fit``, ``y`` is non-optional to
  avoid mistakenly forgetting about ``y``. However, ``y`` can be
  set to ``None`` in case it is derived dynamically from
  ``X``.
docstr_tok: ["See","``","NeuralNet.fit","``",".","In","contrast","to","``","NeuralNet.fit","``",",","``","y","``","is","non-optional","to","avoid","mistakenly","forgetting","about","``","y","``",".","However",",","``","y","``","can","be","set","to","``","None","``","in","case","it","is","derived","dynamically","from","``","X","``","."]
code: def fit(self, X, y, **fit_params):
      """See ``NeuralNet.fit``.
  
      In contrast to ``NeuralNet.fit``, ``y`` is non-optional to
      avoid mistakenly forgetting about ``y``. However, ``y`` can be
      set to ``None`` in case it is derived dynamically from
      ``X``.
  
      """
      # pylint: disable=useless-super-delegation
      # this is actually a pylint bug:
      # https://github.com/PyCQA/pylint/issues/1085
      return super(NeuralNetRegressor, self).fit(X, y, **fit_params)
  
file_path: skorch/skorch/regressor.py
imports: import re
  from sklearn.base import RegressorMixin
  import torch
  from torch.utils.data import DataLoader
  from skorch import NeuralNet
  from skorch.utils import get_dim
  from skorch.utils import is_dataset
label_desc: Use image node_id 3 for calling the NeuralNetRegressor obj's underlying member method code with example usage: obj.fit(X, y) and returns: super