[Week 2][Guarantee of PLA] the Correctness Verification of PLA
Conditions:
- For the data set D, there exists a $\displaystyle W_{f}$ which satisfies that for every n, $y_{n}W_{f}^{T}X_{n}>0$.
- $\displaystyle W_{T+1}=W_{T}+y_{n(T)}X_{n(T)}$ AND $\displaystyle y_{n(T)}W_{T}^{T}X_{n(T)}<0$.
So, let us set $\rho = \min y_{n}W_{f}^{T}X_{n}>0$ AND $R^{2}= \max |X_{n}|^{2}$
As a result, we have some inferences.
Inferences:
- $\displaystyle W_{f}^{T}W_{T+1}=W_{f}^{T}(W_{T}+y_{n(T)}X_{n(T)})=W_{f}^{T}W_{T}+y_{n(T)}W_{f}^{T}X_{n(T)} \ge W_{f}^{T}W_{T}+\rho$
- $\displaystyle |W_{T+1}|^{2}=|W_{T}|^{2}+|y_{n(T)}X_{n(T)}|^{2}+2y_{n(T)}W_{T}^{T}X_{n(T)} \le |W_{T}|^{2}+|X_{n(T)}|^{2} \le |W_{T}|^{2} + R^{2}$
Thus, by using difference, we get $\displaystyle W_{f}^{T}W_{T+1} \ge (T+1)\rho$ AND $|W_{T+1}| \le \sqrt{T+1} R $
Then, we get $\displaystyle\frac{W_{f}^{T}W_{T+1}}{|W_{T+1}| |W_{f}|} \ge \sqrt{T+1} \frac{\rho}{R |W_{f}|}$
[Week 2][Guarantee of PLA] the Correctness Verification of PLA的更多相关文章
- 机器学习---用python实现感知机算法和口袋算法(Machine Learning PLA Pocket Algorithm Application)
之前在<机器学习---感知机(Machine Learning Perceptron)>一文中介绍了感知机算法的理论知识,现在让我们来实践一下. 有两个数据文件:data1和data2,分 ...
- [Benchmark] Codeflaws: A Programming Competition Benchmark for Evaluating Automated Program Repair Tools
Basic Information Publication: ICSE'17 Authors: Shin Hwei Tan, Jooyong Yi, Yulis, Sergey Mechtaev, A ...
- Machine Learning Algorithms Study Notes(2)--Supervised Learning
Machine Learning Algorithms Study Notes 高雪松 @雪松Cedro Microsoft MVP 本系列文章是Andrew Ng 在斯坦福的机器学习课程 CS 22 ...
- Machine Learning Algorithms Study Notes(1)--Introduction
Machine Learning Algorithms Study Notes 高雪松 @雪松Cedro Microsoft MVP 目 录 1 Introduction 1 1.1 ...
- C语言 线性表 双向链式结构 实现
一个双向链式结构实现的线性表 duList (GCC编译). /** * @brief 线性表双向链表结构 * @author wid * @date 2013-10-28 * * @note 若代码 ...
- 【转】android中最好的瀑布流控件PinterestLikeAdapterView
[源地址]http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/0919/1696.html 之前我们介绍过一个开源的瀑布流控件Stag ...
- BOM/ROUTING/PO/WIP等模块常用查询
常用查询scripts /*bom*/ select p_item.segment1,c_item.segment1,bic.COMPONENT_QUANTITY,bic.COMPONENT_YIEL ...
- Oracle EBS-SQL (PO-16):检查采购订单完成情况统计.sql
select e.FULL_NAME 采购员, sum(plla ...
- Oracle EBS-SQL (PO-14):检查报价单与成本对比.sql
select distinct msi.segment1 项目 ,msi.de ...
随机推荐
- (二)快速搭建 ASP.net core Web 应用
目录 1. 新建项目并上传Github 2. 关联Jenkins实现持续集成 3. 已经磨好枪了,开始写代码 1. 新建项目并上传Github 新建 ASP.NET Core Web 应用程序,勾选“ ...
- VMware虚拟机安装Linux系统详细教程
VMware14虚拟机安装RedHad6系统步骤 redhat网盘资源:链接:https://pan.baidu.com/s/1GlT20vevqbZ9qTxsGH1ZzA 提取码:oh57 如果网盘 ...
- safari打不开该网页,因为网址无效
Safari打开导航时,提示:safari打不开该网页 因为网址无效 解决方法:安装百度地图
- P2467 [SDOI2010]地精部落 DP
传送门:https://www.luogu.org/problemnew/show/P2467 参考与学习:https://www.luogu.org/blog/user55639/solution- ...
- POJ-2406Power Strings-KMP+定理
Power Strings 题意:给一个字符串S长度不超过10^6,求最大的n使得S由n个相同的字符串a连接而成,如:"ababab"则由n=3个"ab"连接而 ...
- CodeForces Round 521 div3
A:Frog Jumping 代码: #include<bits/stdc++.h> using namespace std; #define Fopen freopen("_i ...
- UVA - 315 Network(tarjan求割点的个数)
题目链接:https://vjudge.net/contest/67418#problem/B 题意:给一个无向连通图,求出割点的数量.首先输入一个N(多实例,0结束),下面有不超过N行的数,每行的第 ...
- Symmetric Matrix 牛客网暑期ACM多校训练营(第一场) B dp 组合数学
Count the number of n x n matrices A satisfying the following condition modulo m. * Ai, j ∈ {0, 1, 2 ...
- 【Offer】[66] 【构建乘积数组】
题目描述 思路分析 测试用例 Java代码 代码链接 题目描述 给定一个数组A[0, 1, -, n-1],请构建一个数组B[0, 1, -, n-1],其中B中的元素B[i] =A[0]×A[1]× ...
- 【Offer】[43] 【1~n整数中1出现的次数】
题目描述 思路分析 测试用例 Java代码 代码链接 题目描述 输入一个整数n,求1~n这n个整数的十进制表示中1出现的次数.例如,输入12, 1~12这些整数中包含1的数字有1.10.11和12,1 ...