深度学习(1): Regression

Regression and Classificationbinary (RNN)multi-class (CNN)generation产生有结构的复杂的东西supervised learninglabeled data函数的loss, 预测值与实际值之间的关系,越小越好机器会自动找出loss最低的函数reinforcement learningsupervised: next movereinforcement (reward): first mo
摘要由CSDN通过智能技术生成

Regression and Classification

  • binary (RNN)

  • multi-class (CNN)

generation

产生有结构的复杂的东西

supervised learning

  • labeled data

  • 函数的loss, 预测值与实际值之间的关系,越小越好

  • 机器会自动找出loss最低的函数

reinforcement learning

  • supervised: next move

  • reinforcement (reward): first moves …>many moves…> result

alpha go is surpervised +reinforcement learning

unsupervised learning

  • no labeled data

network architecture

定义一个函数寻找的范围

函数寻找方法:gradient descent

meta learning

  • learning algorithm

Regression

step1:model

y = b + ∑ w i x i y=b+\sum{w_ix_i} y=b+wixi

a set of function, input, output

在这里插入图片描述

step2: Goodness of Function

在这里插入图片描述
在这里插入图片描述

Define Loss function L:

  • input: a function

  • output: how bad it is

L ( f ) = L ( w , b ) L(f)=L(w,b) L(f)=L(w,b)

The effects of the loss function is determined by the selection of weight(w ) and the intercept(b).

In this pokeman example, the loss function can be defined as the sum of the differences between the predicted value and the actual value for each group of samples which is called as Least square method.

L ( f ) = ∑ n = 1 10 ( y n ^ − ( b + w x c p n ) ) 2 L(f)=\sum_{n=1}^{10}(\hat{y^n}-(b+wx_{cp}^n))^2 L(f)=n=110(yn^(b+wxcpn))2

  • y n ^ \hat{y^n} yn^ is actual value in the train set
  • b + w x c p n b+wx_{cp}^n b+wxcpn is the predicted value predicted by selected function model(linear model).

step3 Best function

pick the best function

f ∗ = a

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值