class_docstr: Base class for operations in nodes. Operations could be machine learning
  (or statistical) models or data operations
  
  Args:
      operation_type: name of the operation
code: def _predict(
      self,
      fitted_operation,
      data: InputData,
      params: Optional[OperationParameters] = None,
      output_mode: str = "default",
      is_fit_stage: bool = False,
  ):
      is_main_target = data.supplementary_data.is_main_target
      data_flow_length = data.supplementary_data.data_flow_length
      self._init(
          data.task,
          output_mode=output_mode,
          params=params,
          n_samples_data=data.features.shape[0],
      )
  
      if is_fit_stage:
          prediction = self._eval_strategy.predict_for_fit(
              trained_operation=fitted_operation, predict_data=data
          )
      else:
          prediction = self._eval_strategy.predict(
              trained_operation=fitted_operation, predict_data=data
          )
      prediction = self.assign_tabular_column_types(
          prediction, output_mode
      )
  
      # any inplace operations here are dangerous!
      if is_main_target is False:
          prediction.supplementary_data.is_main_target = is_main_target
  
      prediction.supplementary_data.data_flow_length = data_flow_length
      return prediction
  
imports: from abc import abstractmethod
  from typing import Any, Dict, Optional, Union
  from golem.core.log import default_log
  from golem.serializers.serializer import register_serializable
  from fedot.core.data.data import InputData, OutputData
  from fedot.core.operations.hyperparameters_preprocessing import HyperparametersPreprocessor
  from fedot.core.operations.operation_parameters import OperationParameters
  from fedot.core.repository.operation_types_repository import OperationMetaInfo
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.core.repository.tasks import Task, TaskTypesEnum, compatible_task_types
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 9 for calling the Operation obj's underlying member method code with example usage: obj._predict(fitted_operation, data, params, output_mode, is_fit_stage) and returns: prediction