对于机器学习中的分类与回归问题,我总是有点迷糊,但是看了知乎大神们的解答,略有感触。
具体链接请看:https://www.zhihu.com/question/21329754
下面我简单总结一下分类与回归问题的区别吧:
首先引用吴恩达大神的话,Andrew Ng的Machine Learning课程给出的定义:
Supervised learning problems are categorized into "regression" and "classification" problems. In a regression problem, we are trying to predict results within a continuous output, meaning that we are trying to map input variables to some continuous function. In a classification problem, we are instead trying to predict results in adiscrete output. In other words, we are trying to map input variables into discrete categories.
有人总结了此图: