Skip to content

Commit

Permalink
tried to make stats make sense for regression models
Browse files Browse the repository at this point in the history
  • Loading branch information
dtracers committed Jan 23, 2018
1 parent eba36bd commit f0e36b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trainer/utils/controller_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_amounts(self, input_array=None, bot_output=None):
else:
output = self.sess.run(self.controls, feed_dict={self.model_input: input_array})

accuracy = np.sum(np.isclose(output, bot_output, 0.1), 1) / np.size(output[1])
accuracy = np.sum(np.isclose(output, bot_output, 0.2), 1) / np.size(output[1])
self.accuracy_over_time.append(accuracy)
self.bot_data_over_time.append((output, bot_output))

Expand Down

0 comments on commit f0e36b7

Please sign in to comment.