You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/spotpython/surrogate/kriging.py
+42-81Lines changed: 42 additions & 81 deletions
Original file line number
Diff line number
Diff line change
@@ -135,11 +135,9 @@ def __init__(
135
135
If True, the model is isotropic, meaning all variables are treated equally (only one theta value is used).
136
136
If False, the model can handle different theta values, one for each dimension. Defaults to False.
137
137
theta (np.ndarray, optional):
138
-
Currently ignored. Initial theta values for the model. If None, theta values are initialized during fitting.
139
-
Defaults to None.
138
+
Initial theta values for the model. If None, theta values are initialized during fitting. Note that theta is in log10 scale. Defaults to None.
140
139
Lambda (float, optional):
141
-
Currently ignored. Initial Lambda value for the model. If None, Lambda is initialized during fitting.
142
-
Defaults to None.
140
+
Currently ignored. Initial Lambda value for the model. If None, Lambda is initialized during fitting. Note that Lambda is in log10 scale. Defaults to None.
Copy file name to clipboardExpand all lines: src/spotpython/utils/init.py
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -801,14 +801,16 @@ def surrogate_control_init(
801
801
Note:
802
802
* The surrogate_control dictionary is used in the Spot class. The following values
803
803
are updated in the Spot class if they are None in the surrogate_control dictionary:
804
-
* `method`: If the surrogate model dictionary is passed to the Spot class,
804
+
* `method`:
805
+
If the surrogate model dictionary is passed to the Spot class,
805
806
and the `method` value is `None`, then the method value is set in the
806
807
Spot class based on the value of `method` in the Spot class fun_control dictionary.
807
-
* `var_type`: The `var_type` value is set in the Spot class based on the value
808
-
of `var_type` in the Spot class fun_control dictionary and the dimension of the problem.
808
+
* `var_type`:
809
+
The `var_type` value is set in the Spot class based on the value of `var_type` in the Spot class fun_control dictionary and the dimension of the problem.
809
810
If the Kriging model is used as a surrogate in the Spot class, the setting from
810
811
surrogate_control_init() is overwritten.
811
-
* `isotropic`: If the `isotropic` value is set to `True`, then the theta values are isotropic, i.e., the same value is used for all dimensions. If it is set to `False`, then the theta values are anisotropic, i.e., different values are used for each dimension.
812
+
* `isotropic`:
813
+
If `True`, then the theta values are isotropic (same value for all dimensions). If `False`, then they are anisotropic (different values for each dimension).
812
814
* The value `model_fun_evals` will used for the optimization of the surrogate model, e.g., theta values.
813
815
Differential evaluation uses `maxiter = 1000` and sets the number of function evaluations to
814
816
(maxiter + 1) * popsize * N, which results in 1000 * 15 * k,
0 commit comments