otx.api.usecases.tasks.interfaces.explain_interface#

This module contains the interface class for tasks.

Classes

IExplainTask()

A base interface for explain task.

class otx.api.usecases.tasks.interfaces.explain_interface.IExplainTask[source]#

Bases: object

A base interface for explain task.

abstract explain(dataset: DatasetEntity, explain_parameters: ExplainParameters) DatasetEntity[source]#

This is the method that is called upon explanation.

Parameters:
  • dataset – The input dataset to perform the explain on.

  • explain_parameters – The parameters to use for the explain.

Returns:

The results of the explanation.