AI Terms Dictionary

A comprehensive multilingual AI terminology dictionary

Definition

In machine learning and optimization, a surrogate model serves as a proxy for a target function that is difficult to evaluate directly. It is trained on input-output pairs from the original model to predict outcomes quickly and cheaply. Common techniques include Gaussian Processes, Polynomial Chaos Expansion, and neural networks. Surrogate models are essential for hyperparameter tuning, sensitivity analysis, and optimizing systems where each evaluation takes significant time or resources.

Summary

A simplified mathematical model used to approximate the behavior of a more complex, computationally expensive, or inaccessible black-box model.

Key Concepts

Use Cases

Code Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from sklearn.gaussian_process import GaussianProcessRegressor
import numpy as np

# Simple surrogate for a noisy function
X = np.array([[1], [2], [3], [4]])
y = np.array([2.1, 3.9, 6.2, 7.8])

surrogate = GaussianProcessRegressor()
surrogate.fit(X, y)
prediction = surrogate.predict(np.array([[2.5]]))