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

相关推荐
m0_466525297 分钟前
酷特AGI:从“自家试验田”到“全球输出”
大数据·人工智能·agi
星爷AG I8 分钟前
20-1 记忆概览(AGI基础理论)
人工智能·agi
锕琅9 分钟前
OpenAI Codex使用教程-GPT功能配置
人工智能·gpt·codex
鹏子训12 分钟前
AI记忆新思路:用SQLite替代向量数据库,去EMBEDDINGS化,谷歌开源Google Always On Memory Agent
数据库·人工智能·sqlite·embedding
xyz59913 分钟前
ONNX Runtime(ORT) C++ Windows 深度学习模型部署简易教程
人工智能·深度学习
市象14 分钟前
AI带给TCL空调的头部假想
大数据·人工智能
武汉知识图谱科技24 分钟前
国家首次探索“词元交易”:大模型时代的知识产权困境与知识图谱的“价值锚定”机会
人工智能·知识图谱
实在智能RPA27 分钟前
金融行业财务审核自动化工具推荐:2026企业级AI Agent与智能合规选型指南
人工智能·ai·金融·自动化
热爱生活的五柒44 分钟前
深度学习大幅度提高准确率方法,本人亲测,调参方法,大幅度提升准确率方法(极其重要!!!多次看!0430)
人工智能·深度学习
FlagOS智算系统软件栈44 分钟前
众智 FlagOS Day0 实现 DeepSeek-V4 八芯适配:1.6T & 284B双模型,多元算力开箱即用
人工智能