Open-Systems-Pharmacology / OSPSuite.ParameterIdentification

R package for parameter identification for OSPS models
http://www.open-systems-pharmacology.org/OSPSuite.ParameterIdentification/
GNU General Public License v2.0
3 stars 2 forks source link

gridSearch() fails in the vignette example #92

Open PavelBal opened 4 months ago

PavelBal commented 4 months ago

Same as here https://github.com/Open-Systems-Pharmacology/OSPSuite.ParameterIdentification/issues/91

PavelBal commented 4 months ago

Removed documentation:

OFV grids for parameter space exploration

In addition to previous diagnostic methods, we can also plot the landscape of the objective function, since the problem is 2-parametric and it is easily visualized with a contour plot. The package includes $gridSearch() and $plotGrid() functions for that:

{r include=TRUE, eval=FALSE}
grid <- piTask$gridSearch(lower = c(3, 0), upper = c(4, 5), totalEvaluations = 2000)
plot2DOFVGrid(grid, taskResults$par)
{r include=TRUE, echo=FALSE, eval=TRUE, fig.width=10, fig.height=6, fig.align='center'}
plot2DOFVGrid(cachedMidazolamGrid, taskResults$par)
PavelBal commented 4 months ago

Add more explanations. How to use logScaleFlag (to me it is not clear, when "a vector of logical values indicating" should be used). How to use margin? (was in one of my comments to the PR introducing the grid search - I do not understand what it is and how to use it.