code: def __init__(self, data, sample_error=0.1, sample_confidence=0.1):
      self._data = data
      self._init()
  
      self._sample_error = sample_error
      self._sample_confidence = sample_confidence
      self._dw = int(
          np.ceil(
              0.5
              * (self._sample_error**-2)
              * np.log(2 / self._sample_confidence)
          )
      )
      _LOGGER.info(
          "sample error {} , confidence {},num {}".format(
              self._sample_error, self._sample_confidence, self._dw
          )
      )
  
file_path: AutoGL/autogl/module/feature/_generators/_graphlet.py
imports: import logging
  import numpy
  import torch
  from tqdm import tqdm
  import autogl
  from ._basic import BaseFeatureGenerator
  from .._feature_engineer_registry import FeatureEngineerUniversalRegistry
label_desc: Use image node_id 1 to create a new _Graphlet object  with example: obj = _Graphlet(data, sample_error, sample_confidence)