View source: R/tune_tree_interval.R
tune.tree.interval | R Documentation |
Wrapper function for tree-lasso objects used by epsgo function. This function is mainly used within the function epsgo
.
tune.tree.interval( parms, x, y, lambda = NULL, nfolds = 5, foldid = NULL, tree.parm = tree.parm, num.nonpen = 0, seed = 12345, intercept = TRUE, standardize.response = FALSE, p = NULL, verbose = FALSE, parallel = FALSE, search.path = FALSE, threshold = threshold, maxiter = maxiter, ... )
parms |
tuning parameter alpha for the tree-lasso object. |
x, y |
|
lambda |
A user supplied lambda sequence. |
nfolds |
number of cross-validation's folds, default 5. |
foldid |
an optional vector of values between 1 and nfold identifying what fold each observation is in. If supplied, nfold can be missing. |
num.nonpen |
number of predictors forced to be estimated (i.e., nonpenalization). |
seed |
random seed |
intercept |
should intercept(s) be fitted (default= |
standardize.response |
standardization for the response variables. Default: |
p |
the number of predictors from different data source. |
verbose |
print the middle search information, default is |
parallel |
If |
search.path |
save the visited points, default is |
threshold |
threshold for estimated coefficients of the tree-lasso models. |
mixlasso
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.