|
72 | 72 | "import pandas as pd\n", |
73 | 73 | "import datetime as dt\n", |
74 | 74 | "\n", |
75 | | - "from docutils.nodes import reference\n", |
76 | | - "\n", |
77 | 75 | "from corrai.base.model import PyModel\n", |
78 | 76 | "\n", |
79 | 77 | "class OpaqueWallSimple(PyModel):\n", |
|
439 | 437 | "id": "9a24e457cc8ad243", |
440 | 438 | "metadata": {}, |
441 | 439 | "source": [ |
442 | | - "from corrai.optimize import SciOptimizer, MixedProblem\n", |
| 440 | + "from corrai.optimize import SciOptimizer\n", |
443 | 441 | "\n", |
444 | 442 | "sci_opt = SciOptimizer(\n", |
445 | 443 | " model=OpaqueWallSimple(),\n", |
|
848 | 846 | "outputs": [], |
849 | 847 | "execution_count": null |
850 | 848 | }, |
| 849 | + { |
| 850 | + "metadata": {}, |
| 851 | + "cell_type": "markdown", |
| 852 | + "source": [ |
| 853 | + "You can use the function `plot_parameter_forest` from **corrai.optimize**, or as a method directly implemented in `PymooModelEvaluator`.\n", |
| 854 | + "\n", |
| 855 | + "This function provides a compact visualization of the calibrated parameters, showing the optimized value together with the lower and upper bounds defined for each parameter. It can be displayed either in absolute values, relative values, or normalized coordinates, making it easy to identify parameters that converge near their admissible limits." |
| 856 | + ], |
| 857 | + "id": "825951bc1bc47737" |
| 858 | + }, |
| 859 | + { |
| 860 | + "metadata": {}, |
| 861 | + "cell_type": "code", |
| 862 | + "source": [ |
| 863 | + "pymoo_ev.plot_parameter_forest(\n", |
| 864 | + " optimal_values=res.X[i],\n", |
| 865 | + " mode=\"absolute\",\n", |
| 866 | + " width=300,\n", |
| 867 | + " height=300,\n", |
| 868 | + ")" |
| 869 | + ], |
| 870 | + "id": "16afc5745eea4fd6", |
| 871 | + "outputs": [], |
| 872 | + "execution_count": null |
| 873 | + }, |
851 | 874 | { |
852 | 875 | "cell_type": "markdown", |
853 | 876 | "id": "6af5abd476a2d1ce", |
|
0 commit comments