Function to produce a sequence of meta models that are the solutions of the RKHS Ridge Group Sparse or RKHS Group Lasso optimization problems.
Function to produce a sequence of meta models that are the solutions of the RKHS Ridge Group Sparse or RKHS Group Lasso optimization problems.
Calculates the Gram matrices Kv for a chosen reproducing kernel and fits the solution of an RKHS ridge group sparse or an RKHS group lasso problem for each pair of penalty parameters (μ,γ), for the Gaussian regression model.
X: Matrix of observations with n rows and d columns.
kernel: Character, indicates the type of the reproducing kernel: matern (matern kernel), brownian (brownian kernel), gaussian (gaussian kernel), linear (linear kernel), quad (quadratic kernel). See the function calc_Kv
Dmax: Integer, between 1 and d, indicates the order of interactions considered in the meta model: Dmax=1 is used to consider only the main effects, Dmax=2 to include the main effects and the interactions of order 2,…. See the function calc_Kv
gamma: Vector of non negative scalars, values of the penalty parameter γ in decreasing order. If γ=0 the function solves an RKHS Group Lasso problem and for γ>0 it solves an RKHS Ridge Group Sparse problem.
frc: Vector of positive scalars. Each element of the vector sets a value to the penalty parameter μ, μ=μmax/(n×frc). The value μmax is calculated by the program. See the function mu_max.
verbose: Logical, if TRUE, prints: the group v for which the correction of Gram matrix Kv is done, and for each pair of the penalty parameters (μ,γ): the number of current iteration, active groups and convergence criterias. Set as FALSE by default.
Details
Details.
Returns
List of l components, with l equals to the number of pairs of the penalty parameters (μ,γ). Each component of the list is a list of 3 components "mu", "gamma" and "Meta-Model": - mu: Positive scalar, penalty parameter μ associated with the estimated Meta-Model.
gamma: Positive scalar, an element of the input vector gamma associated with the estimated Meta-Model.
Meta-Model: An RKHS Ridge Group Sparse or RKHS Group Lasso object associated with the penalty parameters mu and gamma:
intercept: Scalar, estimated value of intercept.
teta: Matrix with vMax rows and n columns. Each row of the matrix is the estimated vector θv for v=1,...,vMax.
fit.v: Matrix with n rows and vMax columns. Each row of the matrix is the estimated value of fv=Kvθv.
fitted: Vector of size n, indicates the estimator of m.
Norm.n: Vector of size vMax, estimated values for the Ridge penalty norm.
Norm.H: Vector of size vMax, estimated values of the Sparse Group penalty norm.
supp: Vector of active groups.
Nsupp: Vector of the names of the active groups.
SCR: Scalar, equals to ∥Y−f0−∑vKvθv∥2.
crit: Scalar, indicates the value of the penalized criteria.
gamma.v: Vector of size vMax, coefficients of the Ridge penalty norm, nγ×gama_v.
mu.v: Vector of size vMax, coefficients of the Group Sparse penalty norm, nμ×mu_v.
iter: List of two components: maxIter, and the number of iterations until the convergence is achieved.
convergence: TRUE or FALSE. Indicates whether the algorithm has converged or not.
RelDiffCrit: Scalar, value of the first convergence criteria at the last iteration, ∥θlastIter−1θlastIter−θlastIter−1∥2.
RelDiffPar: Scalar, value of the second convergence criteria at the last iteration, critlastIter−1critlastIter−critlastIter−1.
References
Kamari, H., Huet, S. and Taupin, M.-L. (2019) RKHSMetaMod : An R package to estimate the Hoeffding decomposition of an unknown function by solving RKHS Ridge Group Sparse optimization problem. arXiv:1905.13695
Author(s)
Halaleh Kamari
Note
For the case γ=0 the outputs "mu"=μg and "Meta-Model" is the same as the one returned by the function RKHSgrplasso.