[mdl,stats] = fitmbcmodel(X,Y)
fits a Gaussian process model to the input data X and response data
Y. The function uses the data to determine the input ranges of
the model.
Input data, specified as a numeric matrix or a table. Each column corresponds
to one input variable, and each row corresponds to one observation. If
X is a table, the variable names are used as model input
names. If X is a numeric matrix, the function generates
anonymous input names based on the number of columns.
Data Types: double | table
Response data, specified as a numeric vector or a table. Y
must have the same number of rows as X.
Data Types: double | table
Model type to fit, specified as a string scalar or character vector. The
function ignores spaces in values for this argument, and values are case
insensitive. The default value is "GPM", which creates a
Gaussian process model. The short form "GPM" is equivalent to
"Gaussian Process Model".
These are the model types available:
"GPM"
"Gaussian Process Model"
"Polynomial"
"Hybrid Spline"
"RBF"
"Radial Basis Function"
"Hybrid RBF"
"Polynomial-RBF"
"HybridSpline-RBF"
"FreeKnotSpline"
"User-Defined"
"Transient"
"NeuralNetwork"
"InterpolatingRBF"
"LocalPolynomialSpline"
"LocalPolynomialwithDatum"
"LocalPolynomial"
"LocalHybridSpline"
"LocalTruncatedPowerSeries"
"LocalFreeKnotSpline"
"LocalGrowth"
"LocalUser-Defined"
"LocalTransient"
"LocalAverageFit"
"Point-by-Point"
Note
All Local model types in this list require a single input variable. For
these model types, X must be a column vector.
Fitted model, returned as an mbcmodel.model object.
The model contains the fitted parameters and input definitions with ranges
determined from the data.
Fit statistics, returned as a structure containing diagnostic information about the model fit.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.