smith-garrett / uniformization.jl Goto Github PK
View Code? Open in Web Editor NEWA Julia package for solving continuous-time Markov chains using the uniformization/randomization method
License: MIT License
A Julia package for solving continuous-time Markov chains using the uniformization/randomization method
License: MIT License
See Latouche & Ramaswami (1999), p. 58 and Yoon & Shanthikumar (1989). Even when the system is not absorbing, the FPT measures could still be interesting (e.g., first time to reach state X).
This might also be feature creep.
Implement e.g., mean, variance, etc. of custom Categorical distribution (?).
CUArray, OffsetArrays
Could especially help in the standard uniformization fn.: get rid of deepcopy() and swap in similar().
Partially covered by #19 with Dual types, but probably need more. Look at tests for ExponentialAction for inspiration.
(log) PDF, mean, variance, moments in general.
E.g., from Yoon & Shanthikumar (1989) or Fox & Glynn 1988.
Consider interface w/ JumpProcesses.jl/Catalyst.jl. Could also just write a quick Gillespie implementation.
Figure out where breakdown should and should not occur, write tests that test that.
Sparse is probably most important, but generality should be a goal. StaticArrays might be good to include for smaller matrices.
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!
Probably need types for:
Need functions for converting TransitionRateMatrix to first-pasage type
Similar to SciML way.
Simulate solution of master equation by applying uniformization incrementally, e.g., starting at time point 0 w/ initial conditions, solve for t=0.01. That solution is now the initial state for getting the solution at t=0.02, e.g. This avoids problems related to stiffness: When the (time * uniformization rate) gets large, uniformization becomes inefficient due to the many matrix multiplications that have to be performed.
It would be interesting to consider adaptive time stepping or adaptation of the uniformization rate, but that might be too much initially.
Comparisons: ExponentialAction, ExponentialUtilities, base exp(::Matrix).
SciML recommends Dual (AD), and BigFloat, along with Float{64, 32}. Complex isn't relevant here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.