code: def preprocess_keys(parameters: dict):
      """Function that removes nan parameters from input
      and converts numbers from strings
      :param parameters: argparse filtered keys
      """
      for k, v in list(parameters.items()):
          if v is None:
              del parameters[k]
          elif not isinstance(v, bool):
              try:
                  parameters[k] = float(v)
              except Exception:
                  pass
  
file_path: FEDOT/fedot/api/fedot_cli.py
imports: import argparse
  from argparse import RawTextHelpFormatter
  from pathlib import Path
  from fedot import Fedot
  from fedot.core.repository.tasks import TsForecastingParams
label_desc: Use image node_id 4 for calling a global function with example usage: preprocess_keys(parameters) without return types