Skip to content

base

GeneratorMixin

Source code in badgers/core/base.py
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
class GeneratorMixin:

    @abc.abstractmethod
    def generate(self, X, y, **params) -> Tuple:
        """

        :param X: the input
        :param y: the target
        :param params: optional parameters
        :return: Xt, yt
        """
        pass

generate(X, y, **params) abstractmethod

:param X: the input :param y: the target :param params: optional parameters :return: Xt, yt

Source code in badgers/core/base.py
 7
 8
 9
10
11
12
13
14
15
16
@abc.abstractmethod
def generate(self, X, y, **params) -> Tuple:
    """

    :param X: the input
    :param y: the target
    :param params: optional parameters
    :return: Xt, yt
    """
    pass