class_docstr: Get streaming accuracy statistics every time a new command is founded.
  
  Attributes:
    _how_many_gt: How many ground truths.
    _how_many_gt_matched: How many ground truths have been matched.
    _how_many_fp: How many commands have been fired as false positive.
    _how_many_c: How many commands have been fired correctly.
    _how_many_w: How many commands have been fired wrongly.
    _gt_occurrence: A list to record which commands and when it occurs in the
      input audio stream.
    _previous_c: A variable to record the last status of _how_many_c.
    _previous_w: A variable to record the last status of _how_many_w.
    _previous_fp: A variable to record the last status of _how_many_fp.
docstr: Write a human-readable description of the statistics to stdout.
code: def print_accuracy_stats(self):
      """Write a human-readable description of the statistics to stdout."""
      if self._how_many_gt == 0:
          tf.compat.v1.logging.info(
              "No ground truth yet, {}false positives".format(
                  self._how_many_fp
              )
          )
      else:
          any_match_percentage = (
              self._how_many_gt_matched / self._how_many_gt * 100
          )
          correct_match_percentage = (
              self._how_many_c / self._how_many_gt * 100
          )
          wrong_match_percentage = (
              self._how_many_w / self._how_many_gt * 100
          )
          false_positive_percentage = (
              self._how_many_fp / self._how_many_gt * 100
          )
          tf.compat.v1.logging.info(
              "{:.1f}% matched, {:.1f}% correct, {:.1f}% wrong, "
              "{:.1f}% false positive".format(
                  any_match_percentage,
                  correct_match_percentage,
                  wrong_match_percentage,
                  false_positive_percentage,
              )
          )
  
file_path: tensorflow-upstream/tensorflow/examples/speech_commands/accuracy_utils.py
imports: import numpy
  import tensorflow
label_desc: Use image node_id 5 for calling the StreamingAccuracyStats obj's underlying member method code with example usage: obj.print_accuracy_stats() without return types