Conversation
|
So I'm feeling this table is maybe better-suited to the devdocs. It's a useful reference but this is large enough that I don't think I can commit to ensuring its accuracy + that it remains up-to-date. (We can add a reference to it from the main SDE docs, whilst mentioning the above caveats.) As for the example -- note that |
|
I removed some things from I feel like it is important to at least somewhere in the docs show users the canonical way of batch-solving SDEs, because Monte Carlo is the primary use case of SDE simulation. This is why I think we should really keep that part of the notebook. |
|
Should ralston and EulerHeun also be in the table? |
Good point, I'll add them. |
|
I added |
|
Okay, I like this! I don't think GitHub lets me comment on notebook files so I'll leave review feedback here instead:
WDYT? :) |
063d4e7 to
d87069b
Compare
|
Hi Patrick! I agree with all of your comments and I made the appropriate modifications. Two notes however:
Please let me know if I missed anything or if you notice anything else I should change. |
|
Hi @patrick-kidger, Is this still relevant? If yes, I am happy to rebase it to the most recent version, etc. Otherwise we can just close it. |
|
I think this is still relevant! One of the smaller PRs that I've never found time to follow-up on 😅 I think go ahead and rebase this and I'd be happy to get this in :) |
|
Just rebased it, the notebook still runs perfectly without requiring any changes. |
|
Just fyi the errors that pyright is reporting have nothing to do with the files I changed (this is a purely docs-related PR, so shouldn't really require tests...) |
ab12a29 to
e9e0b30
Compare
e9e0b30 to
cfb9c9f
Compare
|
Okay, very belatedly merged 😅 This never quite rose to the level of being important enough that I took the time to tidy it up and merge... but I'm trying to do better now in anticipation of an upcoming Diffrax release! 🎉 |
|
Very understandable Patrick :). Glad you managed to include it now, I think it's a nice thing to have! Good luck with the new release!! |
Hi Patrick,
this is a lightweight PR, adding some more SRK documentation. The first commit just adds the table of all SDE solvers into
docs/api/solvers/sde_solver.md. The second commit adds a Jupyter notebook toexamples/, wherein I gave a walkthrough of the basics SDE simulation in Diffrax. Feel free to get rid of the second commit if you do not find it necessary :)