ae0138c4c9921c4280d20c0351d56ad6de448cfb,arviz/data/io_cmdstan.py,CmdStanConverter,_parse_prior,#CmdStanConverter#,150
Before Change
parsed_output = _read_output(path)
for sample, sample_stats, config, adaptation, timing in parsed_output:
chain_data.append(
{
"sample": sample,
"sample_stats": sample_stats,
"configuration_info": config,
"adaptation_info": adaptation,
"timing_info": timing,
}
)
self.prior = [item["sample"] for item in chain_data]
self.sample_stats_prior = [item["sample_stats"] for item in chain_data]
After Change
[item["sample_stats_warmup"] for item in chain_data],
)
attrs = {}
for item in chain_data:
for key, value in item["configuration_info"].items():
if key not in attrs:
attrs[key] = []
attrs[key].append(value)
self.attrs_prior = attrs
@requires("posterior")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: arviz-devs/arviz
Commit Name: ae0138c4c9921c4280d20c0351d56ad6de448cfb
Time: 2020-08-02
Author: ahartikainen@users.noreply.github.com
File Name: arviz/data/io_cmdstan.py
Class Name: CmdStanConverter
Method Name: _parse_prior
Project Name: arviz-devs/arviz
Commit Name: ae0138c4c9921c4280d20c0351d56ad6de448cfb
Time: 2020-08-02
Author: ahartikainen@users.noreply.github.com
File Name: arviz/data/io_cmdstan.py
Class Name: CmdStanConverter
Method Name: _parse_posterior
Project Name: arviz-devs/arviz
Commit Name: ae0138c4c9921c4280d20c0351d56ad6de448cfb
Time: 2020-08-02
Author: ahartikainen@users.noreply.github.com
File Name: arviz/data/io_cmdstan.py
Class Name: CmdStanConverter
Method Name: _parse_prior
Project Name: GoogleCloudPlatform/healthcare
Commit Name: ec886e66bf675406caaa44c171b53fb5e089dc44
Time: 2019-02-04
Author: noreply@google.com
File Name: deploy/create_project.py
Class Name:
Method Name: add_project_generated_fields