Giter Club home page Giter Club logo

scruff.jl's People

Contributors

apfeffer avatar github-actions[bot] avatar jcampolongo avatar lilithhafner avatar mharradon avatar yfuller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

scruff.jl's Issues

Implement MCMC

Gibbs sampling can be implemented relatively easily as a message-passing algorithm.
Metropolis-Hastings requires more thought.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Create date-driven SFunc

This SFunc should represent data-driven operations that can use an output to derive a probability distribution over inputs, e.g. like a feedforward neural network. They can implement send_lambda, but not sample or compute_pi. Write algorithms to use them.

Implement utility maximization

Expected utilities can also be computed using a semiring.
We should try to implement limited memory to avoid exponential blowup in the number of decisions.
We need to figure out how to do forward projection asynchronously when we don't know the timing of actions and observations.

Profile operations

We wish to be able to profile operations, such that we know how long they take, how much memory they use, and how accurate they are.

Generalized recursive networks

Currently we have Expanders, but they were an early development in Scruff and are clunky. It would be better if variables could be associated with NetworkModels, which generate NetworkSFuncs.

Something like this exists already - need to check if it is complete and works as expected, and document it.
Then, if we have higher order SFuncs over NetworkSFuncs, they will subsume Expanders.

Finally, we need to make LazyInference work with any embedded Network/NetworkSFuncs and not just Expanders.
Once all this is done, we can deprecate Expanders.

Memory management in Runtimes

The longer an algorithm runs, the more instances will be stored in a Runtime instance. In some cases, for long running algorithms, this may cause memory issues. The user should be able to specify a limit, either by count or by time or by memory pressure, for how many instances a Runtime can keep around.

This also applies to projections.

Remove ranges from operator signatures

We have some operator signatures with parrange etc. that are not part of the mathematical signature of the operation that is intended. They should be removed and either incorporated into the SFuncs or treated as operation hyperparameters.

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.