更正声明:用机器学习预测PISA 2018中英国与日本中学生生活满意度的分析代码错误
Correction to ‘Using machine learning to predict UK and japanese secondary students’ life satisfaction in PISA 2018’
一项已发表分析因代码在R与Python间迁移时误将性别列作为因变量而发布更正,重新运行后原文核心结论不变:随机森林仍优于K近邻,英国模型仍优于日本模型。更正后模型解释力明显提高,英国测试集R²由.19升至.46(随机森林)、由.10升至.38(K近邻),日本由.15升至.29、由.07升至.21。此次更正涉及表4、5、6、A4、A5及图A1、A2和摘要、结果、讨论与结论部分文字。
We identified and corrected an unintentional data-handling error in the published analysis code.The error was introduced during a later round of manuscript revision, when parts of the analysis pipeline were transferred between R and Python.Specifically, the published code assigned the wrong column of the pre-processed dataset as the dependent variable: the mistakenly selected variable (gender) was adjacent to the intended outcome variable (life satisfaction) in the data file, and we think this error arose from the different indexing conventions used by the two programming languages (1-based indexing in R versus 0-based indexing in Python).We re-ran the analysis described in the original Method section with the error corrected.The key conclusions of the original article are unaffected by the correction: Random Forest continues to outperform K-Nearest Neighbours, and UK models continue to outperform Japan models.Moreover, the corrected models explain considerably more variance in life satisfaction than originally reported: test-set R 2 rises from .19 to .46 (RF) and from .10 to .38 (KNN) for the United Kingdom, and from .15 to .29 (RF) and from .07 to .21(KNN) for Japan.This correction affects Tables 4, 5, 6, A4 and A5, Figures A1 and A2 and text in the Abstract, Results, Discussion and Conclusions sections, all of which are corrected in the following document.
中文翻译还没有生成,先显示原文。
来源:British Journal of Educational Psychology · bpspsychub.onlinelibrary.wiley.com