class_docstr: A class representing a local absolute binning approach. This binning
  estimates a binning for every single time series on a local level and
  therefore implicitly acts as a scaling mechanism.
  
  Parameters
  ----------
  num_bins
      The number of discrete bins/buckets that we want values to be mapped
      to. (default: 1024)
  is_quantile
      Whether the binning is quantile or linear. Quantile binning allocated
      bins based on the cumulative distribution function, while linear
      binning allocates evenly spaced bins.(default: True, i.e. quantile
      binning)
class_docstr_tok: ["A","class","representing","a","local","absolute","binning","approach",".","This","binning","estimates","a","binning","for","every","single","time","series","on","a","local","level","and","therefore","implicitly","acts","as","a","scaling","mechanism",".","Parameters","--","--","--","--","--","num_bins","The","number","of","discrete","bins\/buckets","that","we","want","values","to","be","mapped","to",".","(","default",":","1024",")","is_quantile","Whether","the","binning","is","quantile","or","linear",".","Quantile","binning","allocated","bins","based","on","the","cumulative","distribution","function",",","while","linear","binning","allocates","evenly","spaced","bins",".","(","default",":","True",",","i.e",".","quantile","binning",")"]
code: def __init__(
      self,
      num_bins: int = 1024,
      is_quantile: bool = True,
      *args,
      **kwargs,
  ):
      super().__init__(*args, **kwargs)
  
      self.num_bins = num_bins
      self.is_quantile = is_quantile
  
file_path: gluonts/src/gluonts/mx/representation/local_absolute_binning.py
imports: from typing import List, Optional, Tuple
  import mxnet
  import numpy
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
  from .binning_helpers import bin_edges_from_bin_centers, ensure_binning_monotonicity
  from .representation import Representation
label_desc: Use image node_id 1 to create a new LocalAbsoluteBinning object from inherited base classes: Representation with example: obj = LocalAbsoluteBinning(num_bins, is_quantile)