class BaseModel(object):
    def __init__(self, name, page_size=1) -> None:
        super().__init__()
        self.name = name
        self.page_size = page_size

    def train(self, x_train, y_train, x_test, y_test):
        # x, y are numpy array
        raise NotImplementedError

    def predict(self, x):
        raise NotImplementedError

edbd79104ea426a67cae759158f82ea3767baeed
class BaseModel(object):
    <mask token>
    <mask token>
    <mask token>

class BaseModel(object):
    <mask token>

    def train(self, x_train, y_train, x_test, y_test):
        raise NotImplementedError
    <mask token>

class BaseModel(object):

    def __init__(self, name, page_size=1) ->None:
        super().__init__()
        self.name = name
        self.page_size = page_size

    def train(self, x_train, y_train, x_test, y_test):
        raise NotImplementedError
    <mask token>

class BaseModel(object):

    def __init__(self, name, page_size=1) ->None:
        super().__init__()
        self.name = name
        self.page_size = page_size

    def train(self, x_train, y_train, x_test, y_test):
        raise NotImplementedError

    def predict(self, x):
        raise NotImplementedError

class BaseModel(object):
    def __init__(self, name, page_size=1) -> None:
        super().__init__()
        self.name = name
        self.page_size = page_size

    def train(self, x_train, y_train, x_test, y_test):
        # x, y are numpy array
        raise NotImplementedError

    def predict(self, x):
        raise NotImplementedError
