ML Lecture 0-1: Introduction of Machine Learning
本博客是针对李宏毅教授在Youtube上上传的课程视频《ML Lecture 0-1: Introduction of Machine Learning》的学习笔记。在Github上也po了这个系列学习笔记(MachineLearningCourseNote),觉得写的不错的小伙伴欢迎来给项目点个赞哦~~
Lecture 0-1: Introduction of Machine Learning
What we expect to learn from this course?

Artificial Intelligence (AI) aims to make machines as smart as human beings. But for long, people don’t know how to do this.
Until 1980s, machine learning (ML) comes into beings. Just like its name, machine learning aims to make machine learn to learn.
Q1: what is the relationship between AI and ML?
A: ML is a potential way to achieve AI.
Q2: what is the relationship between ML and deep learning (DL)?
A: DL is one of methods of ML.
- Extension: Creature’s Instinct: Beaver Build Dam
Beavers are born with the instinct to move stones to build dams as long as they hear the sounds of water flows.

This can be summarized to a rule for beaver: When hear the sounds of water flows, build dam!
Compare it with Human Being’s Instinct

- AI is just some “if”s ?

No, it’s not what we are chasing in the course!
What is Machine Learning ?
- Do Speech Recognition

- Do Image Recognition

ML mostly equal to Looking for a Function
True function to do perfect speech recognition is too complex, there are efforts starting from 1960s trying to write enough rules to include all mappings from voice to word, however it’s still not finished yet! So we need machine to help us find out the function From Data.
To simplify, we let machines try to find the true function using training data we give them. After that, machines would give response to new input data we give to them based on rules that they have learned from training.

How to find this function: Framework
Example: Image Recognition
First, we have a set of function. (This set is called Model)
Then, we have training data, they consist of some input & output pairs, respectively used as function input and function output. (This method also known as Supervised Learning)

- How to find the true function from the set?
We need a good algorithm to find the best function (f∗" role="presentation" style="position: relative;">f∗f∗function that has greatest goodness).

After we find the best function f∗" role="presentation" style="position: relative;">f∗f∗, how can we make sure that a machine can recognize the cat in a picture that it has never seen before? Well, that is exactly one of the most important problem in ML, that is: can machine draw inferences?
- Three Steps to do ML
1.Determine a function set;
2.Enable machines to measure how good a function is;
3.Give machines an algorithm that can help pick the “best” function.


Learning Map
- What ML technics you can learn from this course ?

Next, we give a simple introduction to conceptions included in the map.
Regression
Definition: The output of function that machine is trying to learn is a scalar.
Example: Predicting PM2.5

Classification
Two types:
- Binary Classification: output Yes or No
- Multi-class Classification: output i (i∈" role="presentation" style="position: relative;">∈∈{1,2,3,..,N})

Example for binary classification: Gmail filter Spams

Example for multi-class classification: Document Classification

Model
Different model = Different set of functions -> Different Performance of machine
Linear Model
Non-linear Model

Deep Learning is one of Non-linear models. When doing deep learning, it usually means that the goal function is very very complex, and therefore it can also complete complex tasks such as image recognition, playing GO!


All technics mentioned above belong to field of Supervised Learning, it usually comes with great quantities of training data. These training data are some input/output pairs of target function, and normally the output need to be manually labelled, so the function output is also called label.
Then, how to collect a large amount of labelled data?
A: Semi-supervised Learning.

Semi-supervised Learning
Unlabelled data can also help machine learning!

Another way to save data: Transfer Learning
(labelled/unlabelled) Data that are not directly linked with goal problem may be helpful to the goal problem.

What can machine learn without label: Unsupervised Learning


- Machine creates new animals after seeing some animal images


Structured Learning: Output Result with Structure
In speech recognition: input - a voice clip, output - corresponding sentence.
In translation: input - Chinese sentence, output - English sentence.
In object detection: input - images, output - boundary of object.

Usually, many people heard of regression and classification, but seldom heard of Structured Learning, even textbooks may ignore it.
However, structured learning is a very important part of ML field!

Reinforcement Learning


- Supervised v.s. Reinforcement
Supervised: Have a supervisor to teach machine; (Learning from teacher)
Reinforcement: Let machine to explore and teach itself. (Learning from critics)

So Reinforcement Learning is closer to how human beings learn.
Example: Plying GO

Relation between Terminomogy

Data you have determines what scenario your problem is in, the type of your problem defines its task, and we can use different models (methods) to solve same problems.
ML Lecture 0-1: Introduction of Machine Learning的更多相关文章
- 【原】Coursera—Andrew Ng机器学习—课程笔记 Lecture 10—Advice for applying machine learning 机器学习应用建议
Lecture 10—Advice for applying machine learning 10.1 如何调试一个机器学习算法? 有多种方案: 1.获得更多训练数据:2.尝试更少特征:3.尝试更多 ...
- 【Machine Learning is Fun!】1.The world’s easiest introduction to Machine Learning
Bigger update: The content of this article is now available as a full-length video course that walks ...
- Introduction to Machine Learning
Chapter 1 Introduction 1.1 What Is Machine Learning? To solve a problem on a computer, we need an al ...
- Introduction of Machine Learning
李宏毅主页 台湾大学语音处理实验室 人工智慧.机器学习与深度学习间有什么区别? 人工智能——目标 机器学习——手段 深度学习——机器学习的一种方法 人类设定好的天生本能 Machine Learnin ...
- 李宏毅老师机器学习课程笔记_ML Lecture 0-1: Introduction of Machine Learning
引言: 最近开始学习"机器学习",早就听说祖国宝岛的李宏毅老师的大名,一直没有时间看他的系列课程.今天听了一课,感觉非常棒,通俗易懂,而又能够抓住重点,中间还能加上一些很有趣的例子 ...
- Introduction To Machine Learning Self-Evaluation Test
Preface Section 1 - Mathematical background Multivariate calculus take derivatives and integrals; de ...
- Machine Learning Algorithms Study Notes(1)--Introduction
Machine Learning Algorithms Study Notes 高雪松 @雪松Cedro Microsoft MVP 目 录 1 Introduction 1 1.1 ...
- 【机器学习Machine Learning】资料大全
昨天总结了深度学习的资料,今天把机器学习的资料也总结一下(友情提示:有些网站需要"科学上网"^_^) 推荐几本好书: 1.Pattern Recognition and Machi ...
- 机器学习(Machine Learning)&深度学习(Deep Learning)资料【转】
转自:机器学习(Machine Learning)&深度学习(Deep Learning)资料 <Brief History of Machine Learning> 介绍:这是一 ...
随机推荐
- Vue.observable()使用方法
前言 随着组件的细化,就会遇到多组件状态共享的情况, Vuex当然可以解决这类问题,不过就像 Vuex官方文档所说的,如果应用不够大,为避免代码繁琐冗余,最好不要使用它,今天我们介绍的是 vue.js ...
- Coding Interviews 20 包含min函数的栈
题目描述 定义栈的数据结构,请在该类型中实现一个能够得到栈中所含最小元素的min函数(时间复杂度应为O(1)). 思路 We need another data structure to sotre ...
- C++走向远洋——28(项目三,时间类,2)
*/ * Copyright (c) 2016,烟台大学计算机与控制工程学院 * All rights reserved. * 文件名:time.cpp * 作者:常轩 * 微信公众号:Worldhe ...
- C++走向远洋——22(项目一,三角形,类)
*/ * Copyright (c) 2016,烟台大学计算机与控制工程学院 * All rights reserved. * 文件名:sanjiaoxing.cpp * 作者:常轩 * 微信公众号: ...
- 前端每日实战:149# 视频演示如何用纯 CSS 创作一个宝路薄荷糖的动画
效果预览 按下右侧的"点击预览"按钮可以在当前页面预览,点击链接可以全屏预览. https://codepen.io/comehope/pen/oagrvz 可交互视频 此视频是可 ...
- element ui table render-header自定义表头信息使用
在使用vue自定义组件内容过程之中,我们绝大多数情况下都是通过预先写好不同的html模板,再通过props传入不同的值来渲染不同的模板.例如我们需要实现一个<v-title size='1'&g ...
- 前端复习笔记--1.html标签复习速查
概览 文档章节 <body> <header> <nav> 导航 <aside> 表示和主要内容不相关的区域 <article> 表示一个独 ...
- form里面文件上传并预览
其实form里面是不能嵌套form的,如果form里面有图片上传和其他input框,我们希望上传图片并预览图片,然后将其他input框填写完毕,再提交整个表单的话,有两种方式! 方式一:点击上传按钮的 ...
- 第一个爬虫经历----豆瓣电影top250(经典案例)
因为要学习数据分析,需要从网上爬取数据,所以开始学习爬虫,使用python进行爬虫,有好几种模拟发送请求的方法,最基础的是使用urllib.request模块(python自带,无需再下载),第二是r ...
- html5 中高级选择器 querySelector
简介 HTML5向Web API新引入了document.querySelector以及document.querySelectorAll两个方法用来更方便地从DOM选取元素,功能类似于jQuery的 ...