class_docstr: Class for averaging beat evaluation scores.
class_docstr_tok: ["Class","for","averaging","beat","evaluation","scores","."]
docstr: Global information gain.
docstr_tok: ["Global","information","gain","."]
code: def global_information_gain(self):
      """Global information gain."""
      if len(self.error_histogram) == 0:
          # if the error histogram has length 0, the information gain is 0
          return 0.0
      # calculate the information gain from the (global) error histogram
      return _information_gain(self.error_histogram)
  
imports: from __future__ import absolute_import, division, print_function
  import warnings
  from functools import wraps
  import numpy
  from .None import MeanEvaluation, calc_absolute_errors, calc_errors, evaluation_io, find_closest_matches
  from .onsets import OnsetEvaluation
label_desc: Use image node_id 11 for calling the BeatMeanEvaluation obj's underlying member method code with example usage: obj.global_information_gain() and returns: _information_gain, int