d9f4448777a924ed71d82bf84eda6bb88fd96641,pycox/callbacks.py,PlotProgress,on_epoch_end,#PlotProgress#,112
Before Change
.melt(id_vars=["epoch"],
value_vars=df.columns,
var_name="data", value_name="loss"))
(alt.Chart(df).mark_line().encode(
color="data:N",
x="epoch",
y="loss",
).savechart(self.filename+".vl.json", "json"))
return False
After Change
plt.style.use(self.style)
self.to_pandas().plot()
plt.savefig(self.filename+"."+self.type)
plt.close("all")
return False
def plot_altair(self):
import altair as alt
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: havakv/pycox
Commit Name: d9f4448777a924ed71d82bf84eda6bb88fd96641
Time: 2018-03-13
Author: kvamme@samba8.ad.nr.no
File Name: pycox/callbacks.py
Class Name: PlotProgress
Method Name: on_epoch_end
Project Name: bokeh/bokeh
Commit Name: 06a7794e2b0cecfbb50f818df3c2bd585c1f35de
Time: 2016-07-05
Author: bryanv@continuum.io
File Name: bokeh/tests/test_themes.py
Class Name: TestThemes
Method Name: test_construct_nonempty_theme_from_file
Project Name: graphbrain/graphbrain
Commit Name: 7b4553c27502be5cbb8fd4a946cec60c6824ddbc
Time: 2017-02-05
Author: telmo@telmomenezes.net
File Name: gb/hypergraph/leveldb.py
Class Name: LevelDB
Method Name: destroy