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

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

Harley Molin · 2021年03月17日

knn也有可视化的优点

* 问题详情,请 查看题干

NO.PZ201512020300000506

问题如下:

Comparing two ML models that could be used to accomplish Step 3, which statement(s) best describe(s) the advantages of using Classification and Regression Trees (CART) instead of K-Nearest Neighbor (KNN)?

Statement I For CART there is no requirement to specify an initial hyperparameter (like K)

Statement II For CART there is no requirement to specify a similarity (or distance) measure

Statement III For CART the output provides a visual explanation for the prediction

选项:

A.

Statement I only

B.

Statement III only

C.

Statements I, II and III

解释:

C is correct. The advantages of using CART over KNN to classify companies into two categories (“not acquisition target” and “acquisition target”), include all of the following: For CART there are no requirements to specify an initial hyperparameter (like K) or a similarity (or distance) measure as with KNN, and CART provides a visual explanation for the prediction (i.e., the feature variables and their cut-off values at each node).
A is incorrect, because CART provides all of the advantages indicated in Statements I, II and III.

B is incorrect, because CART provides all of the advantages indicated in Statements I, II and III.

为什么称其为cart对比的优点
2 个答案
已采纳答案

星星_品职助教 · 2021年03月17日

同学你好,

KNN算法的优点里是没有visualization这一项的(截图1)。

可以回想一下认为KNN有可视化这个优点的原因(例如在哪道题/哪张PPT里看到了,哪个视频里出现了等等),看看是不是搞错了算法或者记混了。

附CART的优点供参考(截图2)

讲义截图1(KNN的优点):


讲义截图2(CART的优点):

黄路迦 · 2022年12月21日

KNN不是有straight forward的优点吗?不是直观的意思吗?和visualization有什么区别

星星_品职助教 · 2022年12月21日

@黄路迦

straight forward是方法简单直观,不是可视化

  • 2

    回答
  • 0

    关注
  • 611

    浏览
相关问题

NO.PZ201512020300000506 Statement I only Statement III only Statements I, II anIII C is correct. The aantages of using CART over KNN to classify companies into two categories (“not acquisition target” an“acquisition target”), inclu all of the following: For CART there are no requirements to specify initihyperparameter (like K) or a similarity (or stance) measure with KNN, anCART provis a visuexplanation for the prection (i.e., the feature variables antheir cut-off values eano). A is incorrect, because CART provis all of the aantages incatein Statements I, II anIII. B is incorrect, because CART provis all of the aantages incatein Statements I, II anIII. 老师好, 这道题statement I我是纠结了一下,因为对CART来说,可以设定一些超参数,也可以不用。所以我没判断出来到底是对是错。然后就去看了StatementII这个结论。 在StatementII里面,它说CART没有对similarity和stance的设定,我就在想,咱们CART里的root no和cision no,不都是用的是similarity吗?比如\"ROE>10?\"作为一个no下面有两个分支。其实在我看来就是一种similarity的设定。我是哪里又理解错了吗? (总感觉我和出题人的思路总是不一样,哎><) 谢谢老师

2021-05-22 14:31 1 · 回答

Statement I only Statement III only Statements I, II anIII C is correct. The aantages of using CART over KNN to classify companies into two categories (“not acquisition target” an“acquisition target”), inclu all of the following: For CART there are no requirements to specify initihyperparameter (like K) or a similarity (or stance) measure with KNN, anCART provis a visuexplanation for the prection (i.e., the feature variables antheir cut-off values eano). A is incorrect, because CART provis all of the aantages incatein Statements I, II anIII. B is incorrect, because CART provis all of the aantages incatein Statements I, II anIII. CART法不是为了防止overfitting的问题,可以有两种方法,一种是事前设定regularization parameters,还有一种是事后pruning。第一种不就是事前先设参数吗?为什么这个题说,事前不用设hyperparameter?

2020-01-06 23:00 1 · 回答