ML Lecture 0-1: Introduction of Machine Learning

时间:2022-11-07 11:25:12

本博客是针对李宏毅教授在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?

ML Lecture 0-1: Introduction of Machine Learning

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.

ML Lecture 0-1: Introduction of Machine Learning

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

ML Lecture 0-1: Introduction of Machine Learning

  • AI is just some “if”s ?

ML Lecture 0-1: Introduction of Machine Learning

No, it’s not what we are chasing in the course!

What is Machine Learning ?

  • Do Speech Recognition

ML Lecture 0-1: Introduction of Machine Learning

  • Do Image Recognition

ML Lecture 0-1: Introduction of Machine Learning

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.

ML Lecture 0-1: Introduction of Machine Learning

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)

ML Lecture 0-1: Introduction of Machine 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).

ML Lecture 0-1: Introduction of Machine Learning

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.

ML Lecture 0-1: Introduction of Machine Learning

ML Lecture 0-1: Introduction of Machine Learning

Learning Map

  • What ML technics you can learn from this course ?

ML Lecture 0-1: Introduction of Machine Learning

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

ML Lecture 0-1: Introduction of Machine Learning

Classification

Two types:

- Binary Classification: output Yes or No

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

ML Lecture 0-1: Introduction of Machine Learning

Example for binary classification: Gmail filter Spams

ML Lecture 0-1: Introduction of Machine Learning

Example for multi-class classification: Document Classification

ML Lecture 0-1: Introduction of Machine Learning

Model

Different model = Different set of functions -> Different Performance of machine

Linear Model

Non-linear Model

ML Lecture 0-1: Introduction of Machine Learning

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!

ML Lecture 0-1: Introduction of Machine Learning

ML Lecture 0-1: Introduction of Machine Learning

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.

ML Lecture 0-1: Introduction of Machine Learning

Semi-supervised Learning

Unlabelled data can also help machine learning!

ML Lecture 0-1: Introduction of 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.

ML Lecture 0-1: Introduction of Machine Learning

What can machine learn without label: Unsupervised Learning

ML Lecture 0-1: Introduction of Machine Learning

ML Lecture 0-1: Introduction of Machine Learning

  • Machine creates new animals after seeing some animal images

ML Lecture 0-1: Introduction of Machine Learning

ML Lecture 0-1: Introduction of Machine Learning

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.

ML Lecture 0-1: Introduction of Machine Learning

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!

ML Lecture 0-1: Introduction of Machine Learning

Reinforcement Learning

ML Lecture 0-1: Introduction of Machine Learning

ML Lecture 0-1: Introduction of Machine 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)

ML Lecture 0-1: Introduction of Machine Learning

So Reinforcement Learning is closer to how human beings learn.

Example: Plying GO

ML Lecture 0-1: Introduction of Machine Learning

Relation between Terminomogy

ML Lecture 0-1: Introduction of Machine Learning

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的更多相关文章

  1. 【原】Coursera—Andrew Ng机器学习—课程笔记 Lecture 10—Advice for applying machine learning 机器学习应用建议

    Lecture 10—Advice for applying machine learning 10.1 如何调试一个机器学习算法? 有多种方案: 1.获得更多训练数据:2.尝试更少特征:3.尝试更多 ...

  2. 【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 ...

  3. Introduction to Machine Learning

    Chapter 1 Introduction 1.1 What Is Machine Learning? To solve a problem on a computer, we need an al ...

  4. Introduction of Machine Learning

    李宏毅主页 *大学语音处理实验室 人工智慧.机器学习与深度学习间有什么区别? 人工智能——目标 机器学习——手段 深度学习——机器学习的一种方法 人类设定好的天生本能 Machine Learnin ...

  5. 李宏毅老师机器学习课程笔记_ML Lecture 0-1: Introduction of Machine Learning

    引言: 最近开始学习"机器学习",早就听说祖国宝岛的李宏毅老师的大名,一直没有时间看他的系列课程.今天听了一课,感觉非常棒,通俗易懂,而又能够抓住重点,中间还能加上一些很有趣的例子 ...

  6. Introduction To Machine Learning Self-Evaluation Test

    Preface Section 1 - Mathematical background Multivariate calculus take derivatives and integrals; de ...

  7. Machine Learning Algorithms Study Notes(1)--Introduction

    Machine Learning Algorithms Study Notes 高雪松 @雪松Cedro Microsoft MVP 目 录 1    Introduction    1 1.1    ...

  8. 【机器学习Machine Learning】资料大全

    昨天总结了深度学习的资料,今天把机器学习的资料也总结一下(友情提示:有些网站需要"*"^_^) 推荐几本好书: 1.Pattern Recognition and Machi ...

  9. 机器学习(Machine Learning)&深度学习(Deep Learning)资料【转】

    转自:机器学习(Machine Learning)&深度学习(Deep Learning)资料 <Brief History of Machine Learning> 介绍:这是一 ...

随机推荐

  1. wpf 触发器理解

    (1)属性触发器:其对应的类是Trigger.它在特定关联属性发生变化时被触发.一个属性的更改会在另一个属性中触发即时或动态更改. (2)数据触发器:其对应的类是DataTrigger.它在特定的CL ...

  2. 深入分析&commat;Transactional的用法

    关键词:事务, 编程式事务,声明式事务.spring 事务管理.AOP事务增强.@Transactional 在分析深入分析@Transactional的使用之前,我们先回顾一下事务的一些基本内容. ...

  3. Maximo子表中增加附件功能

    附件功能的实现(详见ewell.webclient.beans.warranty.WarrantysDateBean ,ewell.webclient.beans.doclinks.custom.Ad ...

  4. PL&sol;SQL无法连接,提示:pl&sol;sql initialization error sql&ast;net not properly installed

    各种找资料都不行,最后还是在公司的线上环境中去找不同点配置好的.不多说了,就做了如下配置: 服务器环境是:windows server 2008 64位操作系统 1.电脑系统环境变量PATH增加:x: ...

  5. java Clone之深浅拷贝

    要点: 1.浅度拷贝可以不实现Cloneable接口(自动使用Object.clone)或者不重写Cloneable的clone方法. 2.要被深度拷贝的类必须实现Cloneable接口并重写clon ...

  6. CentOS NFS的安装配置、启动及mount挂载方法

    一.环境介绍: 服务器:centos 192.168.1.225 客户端:centos 192.168.1.226 二.安装: NFS的安装配置:centos 5 : yum -y install n ...

  7. pyhton&colon;图像旋转

    最近一个作业中要用到图像旋转,分享一下学习过程.如有讲错的地方,恳请指正! 图像旋转,想想真简单啊,不就是将图像矩阵乘上一个旋转平移矩阵就完了吗?实际上还真没这么简单.首先这个旋转平移矩阵怎么获得?通 ...

  8. CentOS 7系统上制作Clonezilla(再生龙)启动U盘并克隆双系统

    笔记本安装的是双系统:Win7 64位,CentOS 7 64位. 政采就是个巨大的坑,笔记本标配的是5400转的机械硬盘,开机时间常常要一至两分钟,软件运行起来时各种数据的读写也非常慢,忍无可忍,决 ...

  9. Mybatis的SqlSession运行原理

    前言 SqlSession是Mybatis最重要的构建之一,可以简单的认为Mybatis一系列的配置目的是生成类似 JDBC生成的Connection对象的SqlSession对象,这样才能与数据库开 ...

  10. CSS如何让不相等的字符上下对齐

    最后效果: <div class="main"> <span style="font-size:12px;"><dl class= ...