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

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

PZmomo · 2023年10月27日

CART较于KNN的优势

NO.PZ2015120204000034

问题如下:

Paul suggests the following step which would be repeated every quarter.

Step 3 For each of the 20 different groups, we use labeled data to train a model that will predict the five stocks (in any given group) that are most likely to become acquisition targets in the next one year.

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.

  1. CART也需要设置超参数吧?regularization parameters
  2. 每一个node中的single feature和cutoff value不也是一种similarity吗?
1 个答案

星星_品职助教 · 2023年10月28日

CART也需要设置超参数吧?regularization parameters---不是必须

每一个node中的single feature和cutoff value不也是一种similarity吗?----不是