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> 介绍:这是一 ...
随机推荐
- YCSB项目学习
主要总结Yahoo的数据库测试项目YCSB的使用(针对redis). github网址:https://github.com/brianfrankcooper/YCSB 需要安装 java maven ...
- -scp Linux之间复制文件和目录
scp 简介 scp是secure copy的简写,用于在Linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器,而且scp传输是加密的.可能会稍微影响一下速 ...
- .NET Core 获取程序运行环境信息与反射的应用
目录 RuntimeInformation.Environment 获取信息 反射获取信息 获取某个属性的值以及别名 反射获取信息 使用 总结 笔者的九篇反射系统文章已经完结,但是笔者会持续更新反射在 ...
- 超全!python的文件和目录操作总结
文件的基本读写 path = r'C:\Users\Brady\Documents\tmp' with open(path + r'\demo.txt', 'r', encoding='utf-8') ...
- @Mapper与@Repository区别
@Mapper:是mybatis-plus注解 @Repository:是spring注解 @Mapper= @Repository + @MapperScan(basePackages = &quo ...
- Failed to open the key database file. c;\\User\\w\\Destop\\SecureCRT_FX6.5.3\\Config\\KnowHosts\\Hostsmap.txt这个问题的解决方法
1.首先将这段错误在百度翻译上面查询一下,是什么意思,查询结果如下: 打开密钥数据库文件失败.C:\用户\ w \平台\ securecrt_fx6.5.3 \\ \\ \\ hostsmap.txt ...
- [面试专题]Web缓存详解
Web缓存详解 标签(空格分隔): 缓存 缓存之于性能优化 请求更快:通过将内容缓存在本地浏览器或距离最近的缓存服务器(如CDN),在不影响网站交互的前提下可以大大加快网站加载速度. 降低服务器压力: ...
- 看过无数Java GC文章,这5个问题你也未必知道!
看过无数Java GC文章,这6个问题你也未必知道! 读者朋友们可能已经看过太多关于Java垃圾回收相关的文章,如果没有,墙裂安利大家看下面这篇: 看完这篇垃圾回收,和面试官扯皮没问题了 本文不再重复 ...
- Kubernetes Jenkins动态创建Slave
目录 0.前言 1.Jenkins部署 2.配置jenkins动态slave 3.dubbo服务构建 3.1.制作dubbo镜像底包 3.2.制作slave基础镜像 3.2.1.Maven镜像 3.2 ...
- linux最常用命令记录(一)
一.vim个人最常用设置: vim .vimrc 然后添加以下内容 set nu set tabstop=4 set encoding=utf-8 二.查看磁盘空间相关命令 1.df -h 查看硬 ...