class_docstr: Base class for neural network algorithms.
  
  Methods
  -------
  fit(\*args, \*\*kwargs)
      Alias to the ``train`` method.
  
  predict(X)
      Predicts output for the specified input.
class_docstr_tok: ["Base","class","for","neural","network","algorithms",".","Methods","--","--","--","-","fit","(","\\","*","args",",","\\","*","\\","*","kwargs",")","Alias","to","the","``","train","``","method",".","predict","(","X",")","Predicts","output","for","the","specified","input","."]
code: def fit(self, X, y=None, *args, **kwargs):
      self.train(X, y, *args, **kwargs)
      return self
  
imports: from __future__ import division, absolute_import, unicode_literals
  import time
  import inspect
  from abc import abstractmethod
  import numpy
  from neupy.exceptions import StopTraining
  from neupy.core.logs import Verbose
  from neupy.core.config import ConfigurableABC
  from neupy.core.properties import Property, NumberProperty, IntProperty
  from neupy.algorithms import signals
  from neupy.algorithms.plots import plot_optimizer_errors
  from neupy.utils import iters, as_tuple
label_desc: Use image node_id 5 for calling the BaseSkeleton obj's underlying member method code with example usage: obj.fit(X, y) and returns: self