code: def __init__(self, cache_size: int = 1000):
      self._cache_size = cache_size
      self._cache = []
  
file_path: imodels/imodels/experimental/bartpy/samplers/scalar.py
imports: from typing import Any, List
  import numpy
label_desc: Use image node_id 1 to create a new UniformScalarSampler object  with example: obj = UniformScalarSampler(cache_size)