Elastic-net regularized regression - R script
收藏资源简介:
Elastic-net regularized regression script used for the manuscript entitled 'The relation between visual functions, functional vision, and bimanual function in children with unilateral cerebral palsy'. The scripts construct an elastic net regularised regression model with nested-cross validation. For the outer loop, leave-one-out cross-validation was used, which iteratively selects the data of one participant as a test set, and then trains the model on the data of the remaining participants. This process is repeated for every participant in the dataset. For the inner loop, an elastic-net regularized regression model was built on the training data. (2024-02-09)
本脚本用于题为《单侧脑瘫儿童视觉功能、功能性视力与双手功能的关联》的学术论文,实现弹性网正则化回归(Elastic-net)分析。该脚本构建了带嵌套交叉验证的弹性网正则化回归模型:在外层循环中,采用留一交叉验证(leave-one-out cross-validation),即迭代选取单一名受试者的数据作为测试集,剩余受试者的数据用于训练模型,该流程会针对数据集中的每一位受试者重复执行;在内层循环中,基于训练数据构建弹性网正则化回归模型。(2024-02-09)




