Deeplearning.ai课程笔记

51

课程地址:https://www.coursera.org/specializations/machine-learning-introduction

课程资料:https://github.com/kaieye/2022-Machine-Learning-Specialization

  • 第一个machine learning:跳棋(checker):1950+就做出来了。
  • the two most used types of learning albums 最常用的两种学习类型
    • Supervised learning 监督学习
    • Unsupervised learning 无监督学习

Supervised learning

input(x) → output(y)
输入x和正确的y,机器学习学习,之后输入一个全新的x,机器知道要输出y

主要类型:Regression 回归

Predict a number [[infinitely]] many possible outputs(可能的结果无限个)

主要类型:Classification 归类

predict categories small number of possible outputs(可能的结果有限个)

Supervised learning

主要类型:Clustering: 聚类

takes data without labels and tries to automatically group them into clusters

主要类型:Anomaly detection 异常检测

find unusual data points

主要类型:Dimensionality reduction

Compress data using fewer numbers 用于降维

Model: f(x) = wx + b

  • f: hypothesis 假设
  • x: features
  • y: targets
  • w,b: parameters: weight or coefficients 权重或系数
  • 因为只含有一个特征/输入变量,因此这样的问题叫作单变量线性回归问题

Cost function: 代价函数

这个叫Squared error cost function:平方误差代价函数
这个是通常适用于线性回归的

1/2: 方便后续求导

那么怎么知道w,b是什么呢?简化的看(如果只有一个参数w)

Visits: 31

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注