class_docstr: Unit tests for all quick-start examples.
class_docstr_tok: ["Unit","tests","for","all","quick-start","examples","."]
docstr: Make sure five-step confidences are the same for OPF and Network API.
docstr_tok: ["Make","sure","five-step","confidences","are","the","same","for","OPF","and","Network","API","."]
code: def testFiveStepConfidencesOpfVsNetwork(self):
      """Make sure five-step confidences are the same for OPF and Network API."""
      for resultPair in zip(
          self.fiveStepConfidences["opf"],
          self.fiveStepConfidences["network"],
      ):
          assert_approx_equal(
              *resultPair,
              err_msg="five-step 'opf' and 'network' differ",
          )
  
file_path: nupic-legacy/tests/unit/nupic/docs/examples_test.py
imports: import os
  import sys
  import unittest2
  import numpy
  from numpy.testing import assert_approx_equal
  import random
label_desc: Use image node_id 11 for calling the ExamplesTest obj's underlying member method code with example usage: obj.testFiveStepConfidencesOpfVsNetwork() without return types