code: def get_value_string(self, k, v):
      if k not in self._estimates:
          assert v is None
          return self.get_empty_string(8, 2)
  
      estimate = self._estimates[k] / (1 - self._beta_pow[k])
      if abs(estimate) < 1e-9 or not np.isfinite(estimate):
          lg = 0
      else:
          lg = int(np.ceil(np.log10(abs(estimate)))) + 1
  
      if lg >= 7:
          fmt = "{v:9.3e}"
      else:
          decimals = np.clip(7 - lg, 1, 6)
          fmt = "{v:8,." + str(decimals) + "f}"
  
      if v is None:
          return self.get_empty_string(8, decimals)
      else:
          return fmt.format(v=v)
  
file_path: labml/client/labml/internal/tracker/writers/screen.py
imports: from typing import Dict
  import numpy
  from labml.logger import Text
  from ..None import Writer, Indicator
  from ..indicators import numeric
label_desc: Use image node_id 4 for calling the ScreenWriter obj's underlying member method code with example usage: obj.get_value_string(k, v) and returns: self, self, fmt