在深度学习或者机器学习中经常遇到回归与分类,但是两者非常容易混淆。如何准确的理解两者的定义??
笔者在看Tensorflow的文档时发现官方给出了一个很好的解答:
In a regression problem, we aim to predict the output of a continuous value, like a price or a probability. Contrast this with a classification problem, where we aim to select a class from a list of classes (for example, where a picture contains an apple or an orange, recognizing which fruit is in the picture).
中文翻译为:
在 回归 (regression) 问题中,我们的目的是预测出如价格或概率这样连续值的输出。相对于分类(classification) 问题,分类(classification) 的目的是从一系列的分类出选择出一个分类 (如,给出一张包含苹果或橘子的图片,识别出图片中是哪种水果)。
- 希望这能对你们有帮助!