init = tf.global_variables_initializer()
sess.run(init)
backend.set_session(sess)
model = self.load_searcher().load_best_model()
return self.y_encoder.inverse_transform(model.predict(x_test, ))
def summary(self):
Print the summary of the best model.
After Change
init = tf.global_variables_initializer()
sess.run(init)
backend.set_session(sess)
model = self.load_searcher().load_best_model().produce_model()
return self.y_encoder.inverse_transform(model.predict(x_test, ))
def summary(self):
Print the summary of the best model.