52996cfe45a6f8271ea5ff9303f070a2457f0407,bambi/results.py,MCMCResults,get_trace,#MCMCResults#Any#Any#Any#Any#,242
Before Change
for x in self.model.terms[var[2:]].levels]
// construct the trace DataFrame
trace_df = pd.concat([pd.DataFrame(self .trace[burn_in: ][x],
columns=get_cols(x))
for x in names], axis=1)
After Change
sliced = trace[burn_in:]
sliced.varnames = trace.varnames
return sliced
trace_df = pm.backends.base.MultiTrace([_slice_helper(trace) \
for trace in self.trace._straces.values()])
trace_df = pd.concat([pd.DataFrame(trace_df[x], columns=_get_cols(x))
for x in names], axis=1)
return trace_df
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: bambinos/bambi
Commit Name: 52996cfe45a6f8271ea5ff9303f070a2457f0407
Time: 2017-02-23
Author: jake.a.westfall@gmail.com
File Name: bambi/results.py
Class Name: MCMCResults
Method Name: get_trace
Project Name: bokeh/bokeh
Commit Name: ef90233e8a378c3049cb6955ba88f6598dc545d0
Time: 2015-12-22
Author: bryanv@continuum.io
File Name: examples/plotting/file/texas.py
Class Name:
Method Name:
Project Name: biolab/orange3
Commit Name: d050c00e6b9bd39b650e2f42108dce65821c4319
Time: 2015-03-27
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: OWFile_1