开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

AcelinYoung · 2024年01月26日

老师您好 什么是CV RSS?

NO.PZ2020010801000040

问题如下:

A given set of data was divided into three equal parts. Three separate models were developed—each model using two of the three parts for fitting. Errors were calculated for each model. The diagram below shows the residual errors for each model run (the light highlights where the data was used for fitting the model versus the dark indicating the data that was held back):

Using the principles of m-fold cross validation, which model should be selected?





选项:

解释:

The first task is to calculate the squared residuals:

The model selected is the one that has the smallest RSS within the blue out-of-sample boxes—this is M3.





老师能解释一下CV RSS的定义吗?谢谢

1 个答案

品职答疑小助手雍 · 2024年01月26日

把一套数据分成三份,分别用三个模型拟合,每个模型都是使用这套数据的其中两份来做拟合。每个模型的误差如表所示,浅灰色的数据是用来做拟合的那两份,深灰色的是剩下的那一份。问我们该选择哪个模型

解析:因为浅灰色是用来拟合,所以我们只需要深灰色的数据来检验模型,CV RSS 那一栏计算的就是三个模型所有深灰色误差的平方和,选最小的那个,也就是M3模型。

CV RSS真的是用来验证的数据的误差平方和。

  • 1

    回答
  • 0

    关注
  • 229

    浏览
相关问题

NO.PZ2020010801000040 问题如下 A given set of ta wviinto three equparts. Three separate mols were velopeeamol using two of the three parts for fitting. Errors were calculatefor eamol. The agrbelow shows the resierrors for eamol run (the light highlights where the ta wusefor fitting the mol versus the rk incating the ta thwhelback):Using the principles of m-folcross valition, whimol shoulselecte The first task is to calculate the squareresials:The mol selecteis the one thhthe smallest RSS within the blue out-of-sample boxes—this is M3. M3的in-sample的error大很多,说明模型过于简单啊M2 in-sample和out-of-sample的error都比较小,不是更好吗

2024-05-11 15:53 1 · 回答

NO.PZ2020010801000040问题如下A given set of ta wviinto three equparts. Three separate mols were velopeeamol using two of the three parts for fitting. Errors were calculatefor eamol. The agrbelow shows the resierrors for eamol run (the light highlights where the ta wusefor fitting the mol versus the rk incating the ta thwhelback):Using the principles of m-folcross valition, whimol shoulselecteThe first task is to calculate the squareresials:The mol selecteis the one thhthe smallest RSS within the blue out-of-sample boxes—this is M3.解析里算的totalRSS是做什么用的

2023-05-20 16:08 1 · 回答

NO.PZ2020010801000040 算深色部分的平方吗? M1=0.64 M2=0.81 M3=0.17 因为是resial的平方,所以哪个小要哪个,是这个意思吗?

2022-01-20 10:54 2 · 回答

没看懂这道题目的意思和考点,麻烦老师详细讲解一下,谢谢

2020-04-08 18:51 1 · 回答