sidanettunerange: Tuning paramter grid values for sidanet

View source: R/sidanettunerange.R

sidanettunerangeR Documentation

Tuning paramter grid values for sidanet

Description

Sidanet function to provide tuning parameter grid values for each view, not including covariates, if available. It is recommended to use this to get lower and upper bounds of tuning parameters for each view that can be used in sidanet. This function is called by cvSIDANet to select optimal tuning parameters.

Usage

sidanettunerange(Xdata=Xdata,Y=Y,ngrid=8,standardize=TRUE,weight=0.5,eta=0.5,
                myedges=myedges,myedgeweight=myedgeweight,withCov=FALSE)

Arguments

Xdata

A list with each entry containing training views of size n \times p_d, where d =1,...,D views. Rows are samples and columns are variables. If covariates are available, they should be included as a separate view, and set as the last dataset. For binary or categorical covariates (assumes no ordering), we suggest the use of indicator variables.

Y

n \times 1 vector of class membership. Same size as the number of training samples.

ngrid

Number of grid points for tuning parameters.

standardize

TRUE or FALSE. If TRUE, data will be normalized to have mean zero and variance one for each variable. Default is TRUE.

weight

Balances separation and association. Default is 0.5.

eta

Balances the selection of network, and variables within network. Default is 0.5.

myedges

A list with each entry containing a M_d\times 2 matrix of edge information for each view. If a view has no edge information, set to 0; this will default to SIDA. If covariates are available as a view (Dth view), the edge information should be set to 0.

myedgeweight

A list with each entry containing a M_d\times 1 vector of weight information for each view. If a view has no weight information, set to 0; this will use the Laplacian of an unweighted graph. If covariates are available as a view (Dth view), the weight information should be set to 0.

withCov

TRUE or FALSE if covariates are available. If TRUE, set all covariates as one dataset and should be the last dataset. For binary and categorical variables, use indicator matrices/vectors. Default is FALSE.

Details

The function will return an R object with grid values for each data, not including covariates, if available. To see the results, use the “$" operator.

Value

Tauvec

Grid values for each data, not including covariates, if available.

References

Sandra E. Safo, Eun Jeong Min, and Lillian Haine (2019) , Sparse Linear Discriminant Analysis for Multi-view Structured Data, submitted

See Also

sidanet

Examples

# see examples in sidanet


lasandrall/SIDA documentation built on Oct. 19, 2022, 9:23 a.m.