Machine Learning No.1: Linear regression with one variable
2024-08-29 17:53:51
1. hypothsis
2. cost function:
3. Goal:
4. Gradient descent algorithm
repeat until convergence {
(for j = 0 and j = 1)
}
note: simultaneous update
α:learning rate
if α is too small, gradient descent can be slow.
if α is too large, gradient descent can overshoot the minimum. It may fail to converge, or even diverge.
5. Gradient descent algorithm for one variable
repeat until convergence {
}
6. "batch" gradient descent: each step of gradient descent uses all the training examples
最新文章
- sysbench 压力测试
- Expression Template(表达式模板,ET)
- windows平台编译bgfx
- Enabling Cross-Origin Requests in ASP.NET Web API 2
- HTML5本地存储localStorage与sessionStorage
- linux工具之log4j-LogBack-slf4j-commons-logging
- hadoop(三):hdfs 机架感知
- nginx+php与apache+php性能对比
- hdu5601-N*M bulbs(黑白棋盘染色)
- OA学习笔记-003-Hibernate3.6配置
- XHTML 结构化:使用 XHTML 重构网站
- 【git学习五】git基础之git分支
- 转:Windows平台配置Appium+Java环境
- thinkphp 单字母函数
- 201521123116 《java程序设计》第十二周学习总结
- DAY4-打卡第四天-2018-1-12
- SSM项目手动分页详解
- Bootstrap -- 插件: 提示工具、弹出框、 警告框消息
- C语言复习4_while循环
- [NOIP2014D1]