class_docstr: This class is essentially an API for the AUC object.
  This class contains methods for inspecting the AUC for different criteria.
  To input the different criteria, use the static variable ``criteria``.
code: def _accuracy_to_error(accuracies):
      errors = List()
      errors.extend([acc[0], 1 - acc[1]] for acc in accuracies)
      setattr(
          errors,
          "value",
          [1 - v for v in accuracies.value]
          if isinstance(accuracies.value, list)
          else 1 - accuracies.value,
      )
      return errors
  
imports: import h2o
  from h2o.model import MetricsBase, ConfusionMatrix
  from h2o.plot import get_matplotlib_pyplot, decorate_plot_result, RAISE_ON_FIGURE_ACCESS
  from h2o.utils.metaclass import deprecated_params
  from h2o.utils.shared_utils import List
  from h2o.utils.typechecks import assert_is_type, numeric, is_type, assert_satisfies
label_desc: Use image node_id 21 for calling the H2OBinomialModelMetrics obj's underlying member method code with example usage: obj._accuracy_to_error(accuracies) and returns: errors