GithubHelp home page GithubHelp logo

Distribution Interface about stat HOT 4 CLOSED

gonum avatar gonum commented on July 17, 2024
Distribution Interface

from stat.

Comments (4)

btracey avatar btracey commented on July 17, 2024

The signatures were designed with interfaces in mind, but I was leaning toward not having them until it was clear what methods should belong together. I would like a sampling package that has MCMC, Importance Sampling, Latin-Hypercube, etc. It's not clear how these should look because of the univariate/multivariate problem. Those aren't goals for the dist package specifically, but they bigger picture ideas.

from stat.

jonlawlor avatar jonlawlor commented on July 17, 2024

I guess E-M and bayesian estimation would also be applications. I'm going to flesh out some of the tests, and then I'll try to write up multivariate normal. From there I might take a stab at some sampling.

from stat.

btracey avatar btracey commented on July 17, 2024

I've been playing with multivariate normal. Part of my motivation for the PRs on Symmetric and Triangular was to implement MVGauss. The covariance matrix should be symmetric. You need to compute the Cholesky decomposition to find probabilities, and Cholesky should return a triangular matrix.

In any event, it's still not clear to me if it should be in dist or in a different package mvdist. I'm leaning to one package right now, but I've felt strongly in the other direction in the past.

Here's what I have at the moment. There are lots of things wrong with it, but it's better than starting from scratch. http://play.golang.org/p/zjyKjDeR7H

from stat.

btracey avatar btracey commented on July 17, 2024

After a lot more development, I think interfaces this big are not a good idea. Instead, we should focus on what the smaller interfaces needed for specific purposes.

from stat.

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.