【机器学习】吴恩达机器学习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.)

相关推荐
墨染天姬2 小时前
【AI】端侧AIBOX可以部署哪些智能体
人工智能
AI成长日志2 小时前
【Agentic RL】1.1 什么是Agentic RL:从传统RL到智能体学习
人工智能·学习·算法
2501_948114242 小时前
2026年大模型API聚合平台技术评测:企业级接入层的治理演进与星链4SAPI架构观察
大数据·人工智能·gpt·架构·claude
小小工匠2 小时前
LLM - awesome-design-md 从 DESIGN.md 到“可对话的设计系统”:用纯文本驱动 AI 生成一致 UI 的新范式
人工智能·ui
黎阳之光3 小时前
黎阳之光:视频孪生领跑者,铸就中国数字科技全球竞争力
大数据·人工智能·算法·安全·数字孪生
小超同学你好3 小时前
面向 LLM 的程序设计 6:Tool Calling 的完整生命周期——从定义、决策、执行到观测回注
人工智能·语言模型
智星云算力3 小时前
本地GPU与租用GPU混合部署:混合算力架构搭建指南
人工智能·架构·gpu算力·智星云·gpu租用
jinanwuhuaguo3 小时前
截止到4月8日,OpenClaw 2026年4月更新深度解读剖析:从“能力回归”到“信任内建”的范式跃迁
android·开发语言·人工智能·深度学习·kotlin
xiaozhazha_3 小时前
效率提升80%:2026年AI CRM与ERP深度集成的架构设计与实现
人工智能
枫叶林FYL3 小时前
【自然语言处理 NLP】7.2.2 安全性评估与Constitutional AI
人工智能·自然语言处理