code: def test_compare_bp_and_hessian(self):
      x_train, x_test, y_train, y_test = simple_classification()
      compare_networks(
          # Test classes
          partial(algorithms.GradientDescent, batch_size=None),
          partial(algorithms.Hessian, penalty_const=1),
          # Test data
          (x_train, y_train, x_test, y_test),
          # Network configurations
          network=[
              layers.Input(10),
              layers.Sigmoid(15),
              layers.Sigmoid(1),
          ],
          shuffle_data=True,
          verbose=False,
          show_epoch=1,
          # Test configurations
          epochs=5,
          show_comparison_plot=False,
      )
  
file_path: neupy/tests/algorithms/gd/test_hessian.py
imports: from functools import partial
  import numpy
  import tensorflow
  from neupy import algorithms, layers
  from neupy.utils import tensorflow_session
  from neupy.algorithms.gd.hessian import find_hessian_and_gradient
  from helpers import compare_networks
  from helpers import simple_classification
  from base import BaseTestCase
label_desc: Use image node_id 1 for calling the HessianTestCase obj's underlying member method code with example usage: obj.test_compare_bp_and_hessian() without return types