Open alashworth opened 5 years ago
Comment by syclik Tuesday Jul 25, 2017 at 01:22 GMT
Great list. I don't think there's any harm in introducing this earlier than an actual Stan v3 release if any one has time to tackle it.
Comment by bob-carpenter Tuesday Jul 25, 2017 at 10:05 GMT
Agreed, and thanks for putting this together.
We can definitely start these earlier. I'll break them down into more bite-sized issues as we go.
Issue by bgoodri Tuesday Jul 25, 2017 at 00:11 GMT Originally opened as https://github.com/stan-dev/stan/issues/2360
Summary:
The class of the C++ model does not have enough functionality for interfaces like RStan and PyStan to implement version 3.x.
Description:
Here are things that I think should exist:
prob_grad
butprob_grad
is not very useful. The abstract base class should have virtual methods for the things that the generated code is going to define.std::pair<std::vector<std::string>, std::vector<std::string> >
where the firststd::vector<std::string>
contains the names of the things declared in thedata
block and the secondstd::vector<std::string>
contains the Stan types of the things declared in thedata
block. So, if the Stan program werethen it would return a
std::pair
with "K" and "pi" as the firststd::vector<std::string>
and "int" and "simplex" as the secondstd::vector<std::string>
.std::pair<std::vector<std::string>, std::vector<std::vector<int> > >
where thestd::vector<std::string>
is the same as in the previous method and contains the names of the things declared in thedata
block and thestd::vector<std::vector<int> > >
contains the dimensions of the things declared in thedata
block. In the above example, the second thing would contain 0 and whatever integerK
turns out to be.Reproducible Steps:
Read the generated C++ code; none of these exist currently.
Current Output:
None of these exist currently so there is nothing to output.
Expected Output:
See description section.
Additional Information:
Current Version:
v2.16.0