Description Usage Arguments Value Author(s) See Also Examples
Run hierarchical clustering following by a group-lasso on all the different partition.
1 2 |
X |
matrix of size n*p |
y |
vector of size n |
hc |
output of |
lambda |
lambda values for group lasso. If not provided, the function generates its own values of lambda |
weightLevel |
a vector of size p for each level of the hierarchy. A zero indicates that the level will be ignored. If not provided, use 1/(height between 2 successive levels) |
weightSizeGroup |
a vector of size 2*p-1 containing the weight for each group. Default is the square root of the size of each group |
intercept |
should an intercept be included in the model ? |
verbose |
print some information |
... |
Others parameters for |
a HCgglasso object containing :
lambda values
intercept values for lambda
A list containing the values of estimated coefficients for each values of lambda
A list containing the index of selected variables for each values of lambda
A list containing the values index of selected groups for each values of lambda
A vector containing the number of non zero coefficients for each values of lambda
A vector containing the number of non zero groups for each values of lambda
A list containing 3 vectors. var : all variables used. group : associated groups. weight : weight associated with the different groups. level : for each group, the corresponding level of the hierarchy where it appears and disappears. 3 indicates the level with a partition of 3 groups.
computation time
dimension of X
Output of hierarchical clustering
Code executed by user
Quentin Grimonprez
cv.HCgglasso, stability.HCgglasso, listToMatrix, predict.HCgglasso, coef.HCgglasso, plot.cv.HCgglasso
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.