.. Copyright 2021 IRT Saint Exupéry, https://www.irt-saintexupery.com This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. ==================== Surrogate discipline ==================== .. code-block:: python from gemseo import create_surrogate Create a surrogate discipline from an :class:`.IODataset`: .. code-block:: python surrogate = create_surrogate("LinearRegression", io_dataset)