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
docstr: This method is used for defining and running of the evaluation strategy
  to predict with the data provided
  
  Args:
      fitted_operation: trained operation object
      data: data used for prediction
      params: hyperparameters for operation
      output_mode: string with information about output of operation,
      for example, is the operation predict probabilities or class labels
docstr_tok: ["This","method","is","used","for","defining","and","running","of","the","evaluation","strategy","to","predict","with","the","data","provided","Args",":","fitted_operation",":","trained","operation","object","data",":","data","used","for","prediction","params",":","hyperparameters","for","operation","output_mode",":","string","with","information","about","output","of","operation",",","for","example",",","is","the","operation","predict","probabilities","or","class","labels"]
code: def predict(
      self,
      fitted_operation,
      data: InputData,
      params: Optional[Union[OperationParameters, dict]] = None,
      output_mode: str = "default",
  ):
      """This method is used for defining and running of the evaluation strategy
      to predict with the data provided
  
      Args:
          fitted_operation: trained operation object
          data: data used for prediction
          params: hyperparameters for operation
          output_mode: string with information about output of operation,
          for example, is the operation predict probabilities or class labels
      """
      return self._predict(
          fitted_operation,
          data,
          params,
          output_mode,
          is_fit_stage=False,
      )
  
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 7 for calling the Operation obj's underlying member method code with example usage: obj.predict(fitted_operation, data, params, output_mode) and returns: self