3b84e8fc7a0d418254589693aa4fcdce0612f0b3,arsenal/viz/learning_curve.py,LearningCurve,plot,#LearningCurve#,27

Before Change


                    halflife = 10
                    _,yy = zip(*data[k])
                    ax.plot(xs,
                            pandas.Series(yy).ewm(halflife=halflife).mean(),
                            lw=2, c=l.get_color())

            ax.set_title(self.name)

After Change


                        U = M + 2*s
                        L = M - 2*s
                    else:
                        window = min(len(ys), 10)
                        r = s.rolling(window, min_periods=0)
                        M = r.median()
                        //U = r.max()
                        //L = r.min()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: Scitator/catalyst
Commit Name: f4beaac559e00a3676d942dc7e8fea69efc01cfe
Time: 2020-11-30
Author: raveforlive@gmail.com
File Name: catalyst/metrics/avg_precision.py
Class Name:
Method Name: mean_avg_precision


Project Name: fabianp/mord
Commit Name: 407a5112ab430db6f23fc4317a7400ada797d274
Time: 2015-10-21
Author: f@bianp.net
File Name: examples/bench.py
Class Name:
Method Name: