[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 can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.