code: def test_categorical_target_processed_correctly():
      """Check if categorical target for classification task first converted
      into integer values and then perform inverse operation. API tested in this
      test.
      """
      classification_data = data_with_categorical_target()
      train_data, test_data = train_test_data_setup(classification_data)
  
      fedot_model = Fedot(problem="classification")
      fedot_model.fit(train_data, predefined_model="auto")
      predicted = fedot_model.predict(test_data)
  
      # Predicted label must be close to 'di' label (so, right prediction is 'ba')
      assert predicted[0] == "ba"
  
imports: import numpy
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.data.supplementary_data import SupplementaryData
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.preprocessing.data_types import TYPE_TO_ID
label_desc: Use image node_id 11 for calling a global function with example usage: test_categorical_target_processed_correctly() without return types