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

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

PaisleyPPx · 2021年05月24日

老师

NO.PZ2015120204000033

问题如下:

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.

The target variable for the labelled training data to be used in Step 3 is most likely which one of the following?

选项:

A.

A continuous target variable.

B.

A categorical target variable.

C.

An ordinal target variable.

解释:

B is correct. To predict which stocks are likely to become acquisition targets, the ML model would need to be trained on categorical labelled data having the following two categories: “0” for “not acquisition target”, and “1” for “acquisition target”.

A is incorrect, because the target variable is categorical, not continuous.

C is incorrect, because the target variable is categorical, not ordinal (i.e., 1st, 2nd, 3rd, etc.).

老师 这道题的意思是不是:通过模型找出可能被收购的公司,那这个函数的自变量可能是连续的或者分类的啊?只是他返回的因变量会变成0或者1。

1 个答案

星星_品职助教 · 2021年05月24日

同学你好,

这道题找出5只要收购的股票,target的结果要么是可以被收购,要么是不可以被收购,这是一个是否问题,只有两种情况。

这种情况下首先不连续,其次也不是分类。只是是否问题,也就是categorical。

“只是他返回的因变量会变成0或者1。”题干中并没有给这个返回的逻辑,是或者否就是target自身,算法直接就给出来了。