code: def get_regression_data():
      test_file_path = str(os.path.dirname(__file__))
      file = "../../data/simple_regression_train.csv"
      input_data = InputData.from_csv(
          os.path.join(test_file_path, file),
          task=Task(TaskTypesEnum.regression),
      )
      input_data.idx = to_categorical_codes(
          categorical_ids=input_data.idx
      )
      return input_data
  
file_path: FEDOT/test/integration/quality/test_synthetic_tasks.py
imports: import logging
  import os
  from functools import partial
  from sklearn.metrics import mean_squared_error
  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.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from test.integration.composer.test_composer import to_categorical_codes
label_desc: Use image node_id 2 for calling a global function with example usage: get_regression_data() and returns: input_data