smt_optim.surrogate_models package#
- class smt_optim.surrogate_models.SmtMFCK[source]#
Bases:
Surrogate- predict_level_covariances(x: ndarray, lvli: int, lvlj: int = None)[source]#
Compute the covariance between two fidelity levels at location x.
- Parameters:
x (np.ndarray) – Array with the inputs for make the prediction.
lvli (int) – First fidelity level.
lvlj (int) – Second fidelity level. If not specified, will be set to the highest fidelity level.
- Returns:
covariances – Returns the posterior covariance.
- Return type:
np.array
Submodules#
smt_optim.surrogate_models.base module#
smt_optim.surrogate_models.smt module#
- class smt_optim.surrogate_models.smt.SmtMFCK[source]#
Bases:
Surrogate- predict_level_covariances(x: ndarray, lvli: int, lvlj: int = None)[source]#
Compute the covariance between two fidelity levels at location x.
- Parameters:
x (np.ndarray) – Array with the inputs for make the prediction.
lvli (int) – First fidelity level.
lvlj (int) – Second fidelity level. If not specified, will be set to the highest fidelity level.
- Returns:
covariances – Returns the posterior covariance.
- Return type:
np.array