吴恩达机器学习笔记一(Machine learning algorithms)

Machine learning algorithms

(纯粹促进自己学习整理)

1. Machine learning algorithms:

Main two types:

Supervised learning 监督学习

In supervised learning, the idea is that we’re going to teach the computer how to do something.

Unsupervised learning 无监督学习

In unsupervised learning, we’re going let the computer learn by itself.

other: Reinforcement learning(强化学习)、 recommender system(推荐系统).

2. The definition of supervised learning

(Regression problem & Classification problem)

Example 1: Housing price prediction

在这里插入图片描述

“right answers” given

also called regression problem(回归问题)

Example 2: Breast cancer(malignant, benign)

在这里插入图片描述

Discrete valued output (0 or 1) discrete 英[dɪˈskriːt] 离散的; 分离的; 互不相连的; 各别的

Classification problem

When the features becomes two:

在这里插入图片描述

Maybe for some learning problems, you want to use an infinite number of features, an infinite number of attributes, so that your learning algorithm has lots of attributes of features or cues with which to make those predictions. So how do you deal with an infinite number of features? for example: the algorithm called the Support Vector Machine(支持向量机算法)

3. The definition of unsupervised learning

(clustering algorithm & Cocktail party problem)

Example 1:

there is a data set, but they all has the same label or really no labels, can you find some structure in the data? Given the data set, an Unsupervised Learning algorithm might decide that the data lives in two different clusters.(not given the right answer)

clustering algorithm(聚类算法)

Example 2: cocktail parties(鸡尾酒算法)

Imagine there’s a party, room full of people, all sitting around, all talking at the same time. And there are all these overlapping voices, because everyone is talking at the same time, and it is almost hard to hear the person in front of you. So maybe at a cocktail party with two people, two people talking at the same time, And we’re going to put two microphones in the room, And because these microphones are at different distances from the speakers, each microphone records a different combination of these two speaker voices.

在这里插入图片描述

So we can do, is take these two microphone recordings and give them to an Unsupervised Learning algorithm, called the cocktail party algorithm. and tell the algorithm find structure in this data for you, separate the sound.

actually, the cocktail party problem algorithm need one code:

[W,s,v] = svd((repmat(sum(x.*x,1),size(x,1),1).*x)*x');

this course we use Octave, Octave is free open source software.
Video link: https://www.bilibili.com/video/BV164411S78V?from=search&seid=9940536896957991242
中文笔记:http://www.ai-start.com/ml2014/

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值