Skip to content

Commit

Permalink
BUG: fix weighted RMSE calculation
Browse files Browse the repository at this point in the history
There was a typo that provided the wrong standard deviation for the
CDF calculation that goes into the weights. This would have made
optimization perform poorly.
  • Loading branch information
Blake Caldwell committed Nov 19, 2019
1 parent 6c905db commit b81c148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hnn_qt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -2334,7 +2334,7 @@ def updateOptRanges(self):
range_min = max(0, value - timing_bound)
range_max = min(self.simlength, value + timing_bound)
self.opt_params[tab_name]['mean'] = value
self.opt_params[tab_name]['sigma'] = value
self.opt_params[tab_name]['sigma'] = timing_sigma
self.opt_params[tab_name]['user_start'] = range_min
self.opt_params[tab_name]['user_end'] = range_max
except KeyError:
Expand Down

0 comments on commit b81c148

Please sign in to comment.