3b84e8fc7a0d418254589693aa4fcdce0612f0b3,arsenal/viz/learning_curve.py,LearningCurve,plot,#LearningCurve#,27
Before Change
if self.averaging:
// TODO: averaging doesn"t support irregular time steps.
halflife = 10
_,yy = zip(*data[k])
ax.plot(xs,
pandas.Series(yy).ewm(halflife=halflife).mean(),
lw=2, c=l.get_color())
After Change
if 0:
halflife = 20
r = s.ewm(halflife=halflife)
M = r.mean()
s = r.std()
U = M + 2*s
L = M - 2*s
else:
window = min(len(ys), 10)
r = s.rolling(window, min_periods=0)
M = r.median()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: timvieira/arsenal
Commit Name: 3b84e8fc7a0d418254589693aa4fcdce0612f0b3
Time: 2018-01-17
Author: tim.f.vieira@gmail.com
File Name: arsenal/viz/learning_curve.py
Class Name: LearningCurve
Method Name: plot
Project Name: timvieira/arsenal
Commit Name: 3b84e8fc7a0d418254589693aa4fcdce0612f0b3
Time: 2018-01-17
Author: tim.f.vieira@gmail.com
File Name: arsenal/viz/learning_curve.py
Class Name: LearningCurve
Method Name: plot
Project Name: d2l-ai/d2l-zh
Commit Name: ef784a5b9046b1861de9d7ebba06e2d51a87c0cd
Time: 2018-08-28
Author: muli@cs.cmu.edu
File Name: gluonbook/utils.py
Class Name:
Method Name: get_data_ch7
Project Name: arnomoonens/yarll
Commit Name: 564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16
Time: 2018-02-19
Author: arno.moonens@outlook.com
File Name: agents/ppo.py
Class Name: PPO
Method Name: learn