fix style

This commit is contained in:
bohanjason 2019-12-18 22:43:48 -08:00 committed by Dana Van Aken
parent 13e92bed6a
commit e55aef5483
1 changed files with 3 additions and 2 deletions

View File

@ -239,8 +239,9 @@ class NeuralNet(object):
self.vars['b2_']: b2, self.vars['b3_']: b3, self.vars['b2_']: b2, self.vars['b3_']: b3,
self.vars['X_max_']: X_max, self.vars['X_max_']: X_max,
self.vars['X_min_']: X_min}) self.vars['X_min_']: X_min})
X_recommend = sess.run(self.vars['x_bounded_'], feed_dict={self.vars['X_max_']: X_max, X_recommend = sess.run(self.vars['x_bounded_'],
self.vars['X_min_']: X_min}) feed_dict={self.vars['X_max_']: X_max,
self.vars['X_min_']: X_min})
res = NeuralNetResult(minl=y_recommend, minl_conf=X_recommend) res = NeuralNetResult(minl=y_recommend, minl_conf=X_recommend)
if self.debug: if self.debug: