Machine Learning Week 10 Learning with Large Dataset

9 篇文章 0 订阅

1 Stochastic Gradient Descent

1.1 Alternative algorithm to classic (or batch) gradient descent

Stochastic Gradient Descent is more efficient and scalable to large data sets, say 100,000,000 or more. It is computational expensive to summarise total examples in batch gradient descent. So Stochastic Gradient Descent try to fit every example at a time.
This maybe unlikely to converge at the global minimum or wander around the global minimum randomly, but usually yields a result that is close enough.
在这里插入图片描述

1.2 Mini-batch Gradient Descent

在这里插入图片描述

1.3 Stochastic Gradient Descent Convergence

In order to convergence, one strategy is to plot the average cost of the hypothesis applied to every 1000 training examples. With a smaller learning rate (alpha), it is possible to get a better solution.
Another strategy is to slowly decrease alpha over time, eg: alpha = CONST1/ (iterationNumber + CONST2). However, this is not ofter done for fiddling weith 2 more parameters.

2 Online Learning

With a continuous stream of users to a website, it is possible to run an endless loop to get (xi,yi).
examples:

  • providing shipping service for users, predict the proper price to improve the probability of costomer deal.
  • providing product to cater users to learn which product is more pupular.
  • customized selection of news articles

3 Map Reduce and Data Parallelism

在这里插入图片描述

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值