Description Usage Arguments Value Examples
It computes FLAME for the Function-on-Scalar regression problem. From a set of functions -stored in a matrix or in an fd object- and a set of predictors, FLAME identifies the set of meaningful predictors and their smooth representation in the kernel space.
1 2 3 4 |
Y |
fd object or list. |
X |
matrix. |
type_kernel |
string. Four possible choices are implemented. |
param_kernel |
scalar. Value of the characteristic smoothing parameter of the kernel.
It is the σ
parameter of the Gaussian and the Exponential kernel, as introduced
in rbfdot and laplacedot functions;
the σ parameter of the Sobolev
kernel as in the sobolev_kernel_generation function or
the σ paramter of the periodic kernel of the
generation_kernel_periodic function. Default is
|
thres_eigen |
scalar. Threshold to identify the significant
eigenvalues of the kernel. The number of significant eigennvalues ∑_{j = 1}^{J} θ_j ≥q \textrm{thres\_eigen} ∑_{j = 1}^{∞} θ_j. Default is |
period_kernel |
scalar. Period of the kernel. In case
of |
NoI |
scalar. integer, maximum number of iterations in the
Coordinate-Descent loop. Default is |
thres_CD |
scalar. tolerance in the increment of the K-norm of the estimation
to stop the Coordinate-Descent loop.
Default is |
number_non_zeros |
scalar. integer,
threshold on the number of non zeros parameters to be detected. It is the
kill switch parameter. See the Vignette for further details. Default is |
ratio_lambda |
scalar. ratio to compute the minimum value of lambda. The
maximum λ (λ_{\textrm{max}}) is computed as the minimum value which makes all the coefficients
equal to zero. And the minimum is the product |
number_lambda |
scalar. integer, length of the grid for the
λ parameter. Default is |
proportion_training_set |
scalar. value in (0,1), the
proportion for the training set for the Cross Validation.
Defualt is |
verbose |
bool. If |
list containing:
beta
fd object or list. I
functional coefficients
estimated by FLAME. If Y
is an fd object. then
also beta
is an fd object, and beta
is
the projection of the estimations on a 10 elements cubic Bspline basis.
If Y
is a list, then also beta
is a
list with 2 elements: data
and time_domain
. time_domain
is the m
-length domain grid, while data
is I
\times m
matrix of the point-wise evaluation of
the estimated coefficients.
predictors
vector of the indices of
the non-zero estimated predictors.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(simulation)
data(SobolevKernel)
time <- proc.time()
FLAME_estimation <- FLAME()
duration <- proc.time()-time
duration
names(FLAME_estimation)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.