code: def _get_param_types_maxint(params):
      """
      Returns characteristics of parameters
      :param params: dictionary of pairs
          it must have parameter_name:list of possible values:
          params = {"kernel": ["rbf"],
                   "C"     : [1,2,3,4,5,6,7,8],
                   "gamma" : np.logspace(-9, 9, num=25, base=10)}
      :return: name_values pairs - list of (name,possible_values) tuples for each parameter
               types - list of types for each parameter
               maxints - list of maximum integer for each particular gene in chromosome
      """
      name_values = list(params.items())
      types = []
      for _, possible_values in name_values:
          if isinstance(possible_values[0], float):
              types.append(param_types.Numerical)
          else:
              types.append(param_types.Categorical)
      maxints = [
          len(possible_values) - 1 for _, possible_values in name_values
      ]
      return name_values, types, maxints
  
imports: from __future__ import division
  import os
  import warnings
  import numpy
  import random
  from deap import base, creator, tools, algorithms
  from collections import defaultdict
  from sklearn.base import clone, is_classifier
  from sklearn.model_selection._validation import _fit_and_score
  from sklearn.model_selection._search import BaseSearchCV, check_cv, _check_param_grid
  from sklearn.metrics import check_scoring
  from sklearn.utils.validation import _num_samples, indexable
label_desc: Use image node_id 2 for calling a global function with example usage: _get_param_types_maxint(params) and returns: name_values,  types,  maxints