Source code for ezyrb.reduction.reduction

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

from abc import ABC, abstractmethod


[docs] class Reduction(ABC): """ The abstract Reduction class. All the classes that implement dimensionality reduction 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`"""
[docs] @abstractmethod def expand(self): """Abstract `expand`"""
[docs] @abstractmethod def reduce(self): """Abstract `reduce`"""