Giter VIP home page Giter VIP logo

Comments (6)

MansMeg avatar MansMeg commented on July 30, 2024 1

Yep. Now fixed.

> sdfp <- data_file_path(po)
> sdfp

from posteriordb.

MansMeg avatar MansMeg commented on July 30, 2024

Yes. I think Ill do so that I add the function data_file_path as a more generic solution but keep stan_data_file_path for situations when people use stan.

from posteriordb.

eerolinna avatar eerolinna commented on July 30, 2024

Hmm, would we ever have the situation where two frameworks have different data files? So that stan_data_file_path(po) and pymc_data_file_path(po) would return different results?

Or would it be that stan_data_file_path is just an alias for data_file_path and always returns the same result?

from posteriordb.

MansMeg avatar MansMeg commented on July 30, 2024

I'm not sure. But it may be so that we would need different datasets for different PPFs. As for now, I'll add the data_file_path and then we can see how it develops.

from posteriordb.

MansMeg avatar MansMeg commented on July 30, 2024

Now fixed

from posteriordb.

eerolinna avatar eerolinna commented on July 30, 2024

Should we also change the example in README to use data_file_path?

Personally I think it would be best to remove stan_data_file_path unless we can come up with a concrete situation where two PPFs would need different datasets. I feel it would make the API clearer.

If at some point we end up needing two different data files we can change data_file_path(po) to data_file_path(po, framework = "stan") where "stan" is the default value for the framework optional argument. This change would maintain backward compatability.

from posteriordb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.