code: def test_init_logging(self):
      with catch_stdout() as out:
          algorithms.GradientDescent(
              layers.Input(2) > layers.Sigmoid(3) > layers.Sigmoid(1),
              verbose=False,
          )
          terminal_output = out.getvalue()
          self.assertEqual("", terminal_output.strip())
  
      with catch_stdout() as out:
          algorithms.GradientDescent(
              layers.Input(2) > layers.Sigmoid(3) > layers.Sigmoid(1),
              verbose=True,
          )
          terminal_output = out.getvalue()
  
          self.assertNotEqual("", terminal_output.strip())
          self.assertIn("verbose = True", terminal_output)
  
file_path: neupy/tests/algorithms/test_network_features.py
imports: from __future__ import unicode_literals
  import numpy
  from sklearn import datasets
  from neupy import algorithms, layers
  from neupy.algorithms.base import preformat_value
  from helpers import catch_stdout
  from base import BaseTestCase
label_desc: Use image node_id 5 for calling the NetworkMainTestCase obj's underlying member method code with example usage: obj.test_init_logging() without return types