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

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

小王爱学习 · 2022年01月20日

请老师看一下解题思路对不对

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.





算深色部分的平方吗?

M1=0.64

M2=0.81

M3=0.17

因为是residual的平方,所以哪个小要哪个,是这个意思吗?

2 个答案

品职答疑小助手雍 · 2022年01月20日

同学你好,拿M1举例,你只要把深色的三个数字的平方和算出来就好了4.41+0.01+0.64。M1/M2/M3算出来就是解析表格里CV RSS那一行,M3的最小。

根据我之前的回答里的计算方法,你抄了其中一个数字进行对比肯定不是平方和的概念,有哪里是看不懂的你可以针对性的继续提问,评价4等说明老师的解释出现了严重的错误,如果学员打了3-5等,我们是要求重新回复的,请指出老师的错误并提出正确的观点。

品职答疑小助手雍 · 2022年01月20日

同学你好,

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

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

你可以去听一下“Extraneous Included Variables” 这一节课的视频,何老师讲解的还是很详细的

  • 2

    回答
  • 1

    关注
  • 431

    浏览
相关问题

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 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. 老师能一下RSS的定义吗?谢谢

2024-01-26 14:25 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 · 回答

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

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