Simbiology Previous Initial Parameters
12 次查看(过去 30 天)
显示 更早的评论
Hi! So I saved a run when I was doing fitting for my data, and put the results in a folder on the Simbiology model analzyer dashboard. I wanted to replicate that saved data but I can't seem to find where the initial parameters for that run are stored? If anyone could help or if there's any way I can further clarify please let me know!
0 个评论
回答(1 个)
Arthur Goldsipe
2024-7-26
The results of a fit only contain the outputs of the fit itself (for example, parameter estimates). If you want to reproduce those results, you would need to save a copy of the program and make sure you don't change the program's configuration or anything else the program depends on (like your model). The easiest way to do that is probably to make a backup copy of your SimBiology project (sbproj file), so that you can rerun the same program.
That said, you might need to take extra steps to ensure the project contains everything you need to reproduce the results. For example, if you are using a global optimization method that has a stochastic/random element to it (like scattersearch), you would need to ensure that the random number generator is in the same state every time you run the program. The easiest way to ensure that is to configure your program to set the random number generator's seed.
Even then, don't assume that you will get exactly the same results if you use a different computer or a different version of MATLAB. Remember that you are calculating approximate solutions subject to the limitations of floating point arithmetic. Hardware and software differences can lead to changes in the approximations. For simple arithmetic operations, such changes are typicall quite small. When simulating a complex SimBiology model, the differences can compound. And then when you add optimization on top of that, you might see even more differences. You can often reduce those differences by using tight solver tolerances for your SimBiology simulations, and tight convergence criteria for your optimizations.
4 个评论
Fulden Buyukozturk
2024-7-29
Hi,
You could also generate a Report from your saved results and the report shows the program setup including the initial values for estimated parameters.
You can right click on the results and choose Generate a Report:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1742561/image.png)
Here's a snapshot from such a report that shows initial estimates:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1742566/image.png)
Fulden
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scan Parameter Ranges 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!