code: def logistic(
      x, growth_rate=1.0, capacity=1.0, floor=0.0, inflection_point=0.0
  ):
      """Evaluates the logistic function at x with the specified growth rate,
          capacity, floor, and inflection point.
  
      :param x: value to evaluate the logistic function
      :type x: float
      :param growth_rate: growth rate
      :type growth_rate: float
      :param capacity: max value (carrying capacity)
      :type capacity: float
      :param floor: min value (lower bound)
      :type floor: float
      :param inflection_point: the t value of the inflection point
      :type inflection_point: float
      :return: value of the logistic function at t
      :rtype: float
      """
      return floor + capacity * expit(
          growth_rate * (x - inflection_point)
      )
  
imports: import math
  from datetime import datetime
  from datetime import timedelta
  import numpy
  import pandas
  import pytz
  from holidays_ext import get_holidays
  from pandas.tseries.frequencies import to_offset
  from scipy.special import expit
  from greykite.common import constants
  from greykite.common.python_utils import split_offset_str
label_desc: Use image node_id 31 for calling a global function with example usage: logistic(x, growth_rate, capacity, floor, inflection_point) and returns: unknown