cmdstan icon indicating copy to clipboard operation
cmdstan copied to clipboard

generate_quantities - more intelligent reading of CSV header file

Open mitzimorris opened this issue 5 years ago • 0 comments

Summary:

Generate quantities method currently has var hmc_fixed_cols which expects NUTS sampler output columns. Instead, read CSV column header names; sampler variable names end in __ - calculate offset from this. This will allow more inputs consisting of just parameter columns from a set of draws.

Description:

We want to make the use of generate_quantities method work in a production setting by allowing minimal CSV file which is still parse-able by Stan CSV reader, since we still need to allow full Stan CSV files as well.

Current Version:

v2.24.0

mitzimorris avatar Oct 30 '20 02:10 mitzimorris