《learning from data》读书笔记---第一章: The Learning Problem

1 The Learning Problem

learning from data instead of analytic solution

1.1 Problem Setup

电影推荐系统:需要给电影评分,以确定是否给用户推荐此电影

模型基本步骤:基于之前的用户评分:1.构建向量描述电影 2.构建向量描述用户 3.计算这两个向量的相似度,预测评分

 It starts with random factors, then tunes these factors to make them more and more aligned with how viewers have rated movies before, until they are ultimately able to predict how viewers rate movies in general.

 1.1.1 Components of Learning 

There is a target to be learned. It is unknown to us. We have a set of examples generated by the target. The learning algorithm uses these examples to look for a hypothesis that approximates the target.  

1.1.2 A Simple Learning Model 

perceptron learning algorithm (PLA感知机算法)

 b与threshold有关,对于二维模型来说,分界线为:w1x1 + w2x2 + b = 0

PLA算法:1.初始化模型,w0->零向量 2.选择一个被误分类的记录用于更新w(t),其中t为迭代次数,w(t + 1) = w(t) + y(t)x(t),直到不存在误分类记录,停止迭代。更新的物理意义: moves in the direction of class

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值