Supervised Learning

In supervised learning, we are given a data set and already know what our correct output should look like, having the idea that there is a relationship between the input and the output.

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 a discrete output. In other words, we are trying to map input variables into discrete categories.

Example 1:

Given data about the size of houses on the real estate market, try to predict their price. Price as a function of size is a continuous output, so this is a regression problem.

We could turn this example into a classification problem by instead making our output about whether the house "sells for more or less than the asking price." Here we are classifying the houses based on price into two discrete categories.

Example 2:

(a) Regression - Given a picture of a person, we have to predict their age on the basis of the given picture

(b) Classification - Given a patient with a tumor, we have to predict whether the tumor is malignant or benign.


Supervised Learning 监督学习

Definition 定义:

    "Right answer given" 

    给出数据集、正确答案,算法的目的是给出更多的正确答案。

吴恩达机器学习(二) 监督学习

Regression Problem 回归问题:

    回归是指我们的目标是得到一个连续值输出

Classification Problem 分类问题:

    预测离散值输出

吴恩达机器学习(二) 监督学习

吴恩达机器学习(二) 监督学习

练习题:

吴恩达机器学习(二) 监督学习

相关文章:

  • 2021-06-18
  • 2021-07-02
  • 2021-07-27
  • 2021-05-18
  • 2021-09-01
  • 2021-08-05
  • 2021-08-26
  • 2021-08-21
猜你喜欢
  • 2021-06-06
  • 2021-04-23
  • 2021-04-21
  • 2022-02-07
  • 2021-07-26
  • 2021-11-24
  • 2021-03-30
相关资源
相似解决方案