[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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.