Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Optimization/parameter fitting tutorial #1149

Merged
merged 5 commits into from
Dec 29, 2024

Conversation

TorkelE
Copy link
Member

@TorkelE TorkelE commented Dec 18, 2024

Removes DiffEqParamEstim from the tutorial. Since we now create a full cost function here, I simply introduce all relevant concepts directly in this tutorial (instead as before, having some in the behaviour optimisation tutorial, which hence have seen a decent amount of change as well).

docs/pages.jl Show resolved Hide resolved
@@ -24,7 +28,7 @@ ps_true = [:kB => 1.0, :kD => 0.1, :kP => 0.5]
using OrdinaryDiffEqDefault
oprob_true = ODEProblem(rn, u0, (0.0, 10.0), ps_true)
true_sol = solve(oprob_true)
data_sol = solve(oprob_true; saveat=1.0)
data_sol = solve(oprob_true; saveat = 1.0)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think when I wrote these I didn't use to put spaces around = in kwargs, but that should be changed to conform to standard. At some point I will have a look at more tutorials to see if there are other places I don't use the SciML standard.

@isaacsas isaacsas closed this Dec 28, 2024
@isaacsas isaacsas reopened this Dec 28, 2024
@isaacsas
Copy link
Member

@TorkelE is this ok to merge?

@TorkelE TorkelE merged commit 4efe8ab into master Dec 29, 2024
1 of 2 checks passed
@TorkelE TorkelE deleted the change_optimization_parameter_fitting_doc branch December 29, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants