def fit(self, X, y):
    X_dict = numpy_to_dict(X)
    self.model = self.model_creator(X_dict, y)
    self.model.fit(X_dict, y, epochs=self.epochs, batch_size=self.batch_size, verbose=1)
    return self
def fit(self, X, y):
    X_dict = numpy_to_dict(X)
    self.model = self.model_creator(X_dict, y)
    self.model.fit(X_dict, y, epochs=self.epochs, batch_size=self.batch_size, verbose=1)
    return self