[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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.