Commit 162f2db0 authored by Yuxin Wu's avatar Yuxin Wu

fix name bug

parent bff69e84
...@@ -192,11 +192,11 @@ class StatMonitorParamSetter(HyperParamSetter): ...@@ -192,11 +192,11 @@ class StatMonitorParamSetter(HyperParamSetter):
statistics update. statistics update.
For example, if error wasn't decreasing, anneal the learning rate: For example, if error wasn't decreasing, anneal the learning rate:
NonDecreasingStatMonitorParamSetter('learning_rate', 'val-error', lambda x: x * 0.2) StatMonitorParamSetter('learning_rate', 'val-error', lambda x: x * 0.2)
If reverse==True, use 'increasing' instead of decreasing If reverse==True, use 'increasing' instead of decreasing
""" """
super(NonDecreasingStatMonitorParamSetter, self).__init__(param) super(StatMonitorParamSetter, self).__init__(param)
self.stat_name = stat_name self.stat_name = stat_name
self.value_func = value_func self.value_func = value_func
self.last_k = last_k self.last_k = last_k
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment