Source code for ezyrb.reduction.reduction

"""Module for the Reduction abstract class."""

from abc import ABC, abstractmethod


[docs]class Reduction(ABC): """ The abstract `Approximation` class. All the classes that implement the input-output mapping should be inherited from this class. """
[docs] @abstractmethod def fit(self): """Abstract `fit`"""
[docs] @abstractmethod def transform(self): """Abstract `transform`"""
[docs] @abstractmethod def inverse_transform(self): """Abstract `inverse_transform`"""