class BaseTrainer(object):

    def __init__(self, model, data, config):
        self.model = model
        self.data = data
        self.config = config

    def train(self):
        raise NotImplementedError

    def save_trained_model(self, model_trained):
        """dump model trained to save database. will will used it to predict"""
        raise NotImplementedError

3ddcdaead3f9065df6cc40854a61677151f1e129
class BaseTrainer(object):
    <mask token>
    <mask token>
    <mask token>

class BaseTrainer(object):

    def __init__(self, model, data, config):
        self.model = model
        self.data = data
        self.config = config
    <mask token>
    <mask token>

class BaseTrainer(object):

    def __init__(self, model, data, config):
        self.model = model
        self.data = data
        self.config = config

    def train(self):
        raise NotImplementedError
    <mask token>

class BaseTrainer(object):

    def __init__(self, model, data, config):
        self.model = model
        self.data = data
        self.config = config

    def train(self):
        raise NotImplementedError

    def save_trained_model(self, model_trained):
        """dump model trained to save database. will will used it to predict"""
        raise NotImplementedError
