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

相关推荐
模型时代1 分钟前
Anthropic明确拒绝在Claude中加入广告功能
人工智能·microsoft
夕小瑶5 分钟前
OpenClaw、Moltbook爆火,算力如何48小时内扩到1900张卡
人工智能
一枕眠秋雨>o<7 分钟前
透视算力:cann-tools如何让AI性能调优从玄学走向科学
人工智能
那个村的李富贵20 分钟前
昇腾CANN跨行业实战:五大新领域AI落地案例深度解析
人工智能·aigc·cann
集简云-软件连接神器24 分钟前
技术实战:集简云语聚AI实现小红书私信接入AI大模型全流程解析
人工智能·小红书·ai客服
松☆24 分钟前
深入理解CANN:面向AI加速的异构计算架构
人工智能·架构
rainbow72424424 分钟前
无基础学AI的入门核心,从基础工具和理论开始学
人工智能
子榆.28 分钟前
CANN 与主流 AI 框架集成:从 PyTorch/TensorFlow 到高效推理的无缝迁移指南
人工智能·pytorch·tensorflow
七月稻草人30 分钟前
CANN生态ops-nn:AIGC的神经网络算子加速内核
人工智能·神经网络·aigc
2501_9248787330 分钟前
数据智能驱动进化:AdAgent 多触点归因与自我学习机制详解
人工智能·逻辑回归·动态规划