code: def _getRadius(self, location):
      
      # TODO: find better heuristic
      return int(math.sqrt(sum([coord ** 2 for coord in location])))
docs: Returns the radius associated with the given location.
  
      This is a bit of an awkward argument to the CoordinateEncoder, which
      specifies the resolution (in was used to encode differently depending on
      speed in the GPS encoder). Since the coordinates are object-centric,
      for now we use the "point radius" as an heuristic, but this should be
      experimented and improved.