The model for a point
where squares==FALSE
. In case squares==TRUE
there are d additional pure square terms and the model is
ptail==FALSE
the polynomial tail (all coefficients
trainMQRBF(
xp,
U,
ptail = TRUE,
squares = FALSE,
width,
RULE = "One",
widthFactor = 1,
rho = 0,
DEBUG2 = F
)
n points xp
vector of length n, containing samples
[TRUE] flag, see description
[FALSE] flag, see 'Description'
[-1] either a positive real value which is the constant width RULE
,
based on the distribution of data points xp
.
["One"] one out of ["One" | "Two" | "Three"], different rules for automatic
estimation of width width = -1
,
[1.0] additional constant factor applied to each width
[0.0] experimental: 0.0: interpolating, >0.0, approximating (spline-like) Gaussian RBFs
[FALSE] if TRUE, save M
and rhs
on return value
rbf.model
, an object of class RBFinter
, which is basically a list
with elements:
(n+d+1 x m) matrix holding in column m the coefficients for the m'th
model: squares==TRUE
it is an (n+2d+1 x m) matrix holding
additionally the coefficients
matrix xp
size of the polynomial tail. If length(d)==0
it means no polynomial tail will be used for the model. In case of ptail==T && squares==F d will be dimension+1 and in case of ptail==T && squares==T d will be 2*dimension+1
number n of points
TRUE or FALSE (see description)
TRUE or FALSE (see description)
the calculated width
"MQ"
The linear equation system is solved via SVD inversion. Near-zero elements
in the diagonal matrix