class_docstr: A NamedTuple to store the statistics of a Dataset.
class_docstr_tok: ["A","NamedTuple","to","store","the","statistics","of","a","Dataset","."]
code: def __eq__(self, other):
      for x, y in zip(
          self._asdict().values(), other._asdict().values()
      ):
          if isinstance(x, float):
              if abs(x - y) > abs(0.0001 * x):
                  return False
          elif x != y:
              return False
      return True
  
imports: import math
  from collections import defaultdict
  from typing import Any, List, NamedTuple, Optional, Set
  import numpy
  from gluonts.core.component import validated
  from gluonts.dataset.field_names import FieldName
  from gluonts.exceptions import assert_data_error
  from gluonts.gluonts_tqdm import tqdm
label_desc: Use image node_id 1 for calling the DatasetStatistics obj's underlying member method code with example usage: obj.__eq__(other) and returns: True, False, False