【机器学习】吴恩达机器学习Lecture1

目录

[1-1 Introduction](#1-1 Introduction)

[Machine Learning](#Machine Learning)

Examples:

[1-2 What is machine learning](#1-2 What is machine learning)

[Machine learning definition](#Machine learning definition)

Question:

[Machine learning algorithms:](#Machine learning algorithms:)

[1-3 Supervised learning](#1-3 Supervised learning)

[Housing price prediction](#Housing price prediction)

[Breast cancer (malignant, benign)](#Breast cancer (malignant, benign))

Question:

[1-4 Unsupervised Learning](#1-4 Unsupervised Learning)

Examples:

[Cocktail party problem](#Cocktail party problem):

Question:


1-1 Introduction

Machine Learning
  • Grew out of work in AI

  • New capability for computers

Examples:

- Database mining 数据挖掘

Large datasets from growth of automation/web.

E.g., Web click data, medical records, biology, engineering

- Applications can't program by hand. 无法手动编程实现的应用

E.g., Autonomous helicopter, handwriting recognition, most of

Natural Language Processing (NLP), Computer Vision.

- Self-customizing programs 自适应程序

E.g., Amazon, Netflix product recommendations

- Understanding human learning (brain, real AI). 理解人类学习机制


1-2 What is machine learning

Machine learning definition

• Arthur Samuel (1959). Machine Learning: Field of study that gives computers the ability to learn

without being explicitly programmed.

• Tom Mitchell (1998) Well-posed Learning Problem: A computer program is said to learnfrom experience E with respect to some task Tand some performance measure P, if itsperformance on T, as measured by P, improveswith experience E.

Question:

Suppose your email program watches which emails you do or do not mark as spam, and based on that learns how to better filter spam. What is the task T in this setting?

Machine learning algorithms:

-Supervised learning 监督学习

-Unsupervised learning 无监督学习

Others: Reinforcement learning, recommender systems. 强化学习,推荐系统

Also talk about: Practical advice for applying learning algorithms.


1-3 Supervised learning

Housing price prediction

Supervised Learning: "right answers" given

Regression回归: Predict continuous valued output (price)

Breast cancer (malignant, benign)

Classification: Discrete valued output (0 or 1) or (0, 1, 2, 3)

one feature, two features or more features

  • Tumor Size

  • Age

  • Clump Thickness

  • Uniformity of Cell Size

  • Uniformity of Cell Shape

...

Question:

You're running a company, and you want to develop learning algorithms to address each of two problems.

Problem 1: You have a large inventory of identical items. You want to predict how many of these items will sell over the next 3 months.

Problem 2: You'd like software to examine individual customer accounts, and for each account decide if it has been hacked/compromised.

Should you treat these as classification or as regression problems?


1-4 Unsupervised Learning

Examples:
  • Google news
  • Individual genes

  • Organize computing clusters
  • Social network analysis
  • Market segmentation
  • Astronomical data analysis

Cocktail party problem:

You can solve this problem by just one line program:

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

Source: Sam Roweis, Yair Weiss \& Eero Simoncelli

建议:先用Octave建立原型,再用C++、JAVA或Python语言实现

Question:

Of the following examples, which would you address using an unsupervised learning algorithm? (Check all that apply.)

相关推荐
梵构广告6 小时前
平台怎么做品牌营销策划?—品牌营销
大数据·人工智能·平面·品牌策划
土豆12506 小时前
DeepSeek V4-Flash 正式版深度解读:一行 changelog 里的暗涌与野心
人工智能·llm
Aloudata6 小时前
Prompt 驱动分析 vs Skill 驱动分析:企业 AI 分析如何从会问走向可复用
大数据·人工智能·数据分析·prompt·skill·语义层
笨鸟先飞,勤能补拙6 小时前
下一个十年:网络安全正在被重写
网络·人工智能·安全·web安全·网络安全·github
weixin_429615996 小时前
快速生成流程图
人工智能·chatgpt·aigc·流程图
骇客野人6 小时前
PGSQL运维筛选近30天有数据改动数据库表和表名
人工智能
孪生质数-6 小时前
AI 应用实践篇——让大模型真正开始工作
linux·运维·服务器·人工智能·深度学习·语言模型·llama
维克兜率天7 小时前
【维克】回归诊断:如何知道你的模型是不是“坏了“?
人工智能·数据挖掘·回归
数字化老赵7 小时前
有没有什么好用的AI工具可以用在设备巡检管理的?
大数据·人工智能·设备管理·设备