We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3abb8bd commit 5505522Copy full SHA for 5505522
climada/util/calibrate/cross_calibrate.py
@@ -141,6 +141,18 @@ def __post_init__(self):
141
raise RuntimeError("Samples must be set!")
142
143
def run(self, processes=1, **optimizer_run_kwargs) -> EnsembleOptimizerOutput:
144
+ """Execute the ensemble optimization
145
+
146
+ Parameters
147
+ ----------
148
+ processes : int, optional
149
+ The number of processes to distribute the optimization tasks to. Defaults to
150
+ 1 (no parallelization)
151
+ optimizer_run_kwargs
152
+ Additional keywords arguments for the
153
+ :py:func`~climada.util.calibrate.base.Optimizer.run` method of the
154
+ particular optimizer used.
155
+ """
156
if processes == 1:
157
outputs = self._iterate_sequential(**optimizer_run_kwargs)
158
else:
0 commit comments