吴恩达机器学习笔记之监督学习

Supervised learning:

       监督学习指的就是我们给学习算法一个数据集,这个数据集由“正确答案”组成。比如房价的预测,给定一系列房子的数据,给定数据集中每个样本的正确价格,实际的售价运用学习算法,来算出更多的正确答案。用专业的术语来讲,这叫做回归问题,即试着推测出一系列连续值属性。

       还有一类问题叫做分类问题,比如根据一个人的外貌预测一个人是男生还是女生,预测结果是离散的,可以根据多个特征来预测输入的变量属于哪一类型。

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值