code: def getOrDefault(self, param):
          
          param = self._resolveParam(param)
          if param in self._paramMap:
              return self._paramMap[param]
          else:
              return self._defaultParamMap[param]
docs: Gets the value of a param in the user-supplied param map or its
          default value. Raises an error if neither is set.