Source code for immuneML.workflows.steps.Step

import abc

from immuneML.workflows.steps.StepParams import StepParams


[docs] class Step(metaclass=abc.ABCMeta): """ This class encapsulates steps in the analysis which will likely be often used, such as: - dataset encoding - training of machine learning models - signal implanting in repertoires without any signals etc. For a custom analysis which is not likely to be repeated for different settings (e.g. such as with a different encoding), create a custom class inheriting AbstractProcess from workflows.processes package. """
[docs] @staticmethod @abc.abstractmethod def run(input_params: StepParams = None): pass