为什么高斯核函数映射到无穷维度?
来源:互联网 发布:苹果电脑装windows 编辑:程序博客网 时间:2024/04/27 21:16
Consider the polynomial kernel of degree 2 defined by, where and .
Thereby, the kernel function can be written as,
.
Now, let us try to come up with a feature map such that the kernel function can be written as .
Consider the following feature map, . Basically, this feature map is mapping the points in to points in . Also, notice that, which is essentially our kernel function.
This means that our kernel function is actually computing the inner/dot product of points in . That is, it is implicitly mapping our points from to .
NOTE:我们要做的是将线性不可分的sample映射到高维空间(在这个空间中线性可分),然后在这个高维空间中衡量两个sample之间的相似性,即做点积。在上述的多项式核函数例子中,阐述了通过核函数同样可以达到我们的目的,而且省略了显示映射的环节。
Now, coming to RBF.
Let us consider the RBF kernel again for points in . Then, the kernel can be written as
(assuming gamma = 1). Using the taylor series you can write this as,
Thereby, the kernel function can be written as,
.
Now, let us try to come up with a feature map such that the kernel function can be written as .
Consider the following feature map, . Basically, this feature map is mapping the points in to points in . Also, notice that, which is essentially our kernel function.
This means that our kernel function is actually computing the inner/dot product of points in . That is, it is implicitly mapping our points from to .
NOTE:我们要做的是将线性不可分的sample映射到高维空间(在这个空间中线性可分),然后在这个高维空间中衡量两个sample之间的相似性,即做点积。在上述的多项式核函数例子中,阐述了通过核函数同样可以达到我们的目的,而且省略了显示映射的环节。
Now, coming to RBF.
Let us consider the RBF kernel again for points in . Then, the kernel can be written as
(assuming gamma = 1). Using the taylor series you can write this as,
Now, if we were to come up with a feature map just like we did for the polynomial kernel, you would realize that the feature map would map every point in our to an infinite vector. Thus, RBF implicitly maps every point to an infinite dimensional space.
NOTE:上面是RBF核函数(也可以理解为高斯核函数),在上面的转换过程中核函数最终通过傅里叶展开为无穷项,而每项都是一个多项式核函数,从这里可以看出高斯核函数映射之后为什么是无穷维的。
另外需要注意一点就是,无穷维的向量并不意味着对两个无穷维的向量相似性的度量。点积是衡量两个无穷维向量相似值最终收敛到的值!
原文链接:http://www.quora.com/Why-does-the-RBF-radial-basis-function-kernel-map-into-infinite-dimensional-space
1 0
- 为什么高斯核函数映射到无穷维度?
- SVM 为什么说高斯核函数能把向量映射到无穷维
- 函数 ioremap 物理地址到内核映射空间的映射函数
- 函数 ioremap 物理地址到内核映射空间的映射函数
- 为什么中断向量表重映射到高地址
- 数据仓库系列-为什么要维度建模
- 什么是映射?为什么需要映射
- 维度
- Mondrian系列(五)-深入维度、层次和级别(1)-映射维度和层次
- Open C 到 NXOpen 四个关键函数的映射
- ngx映射到lua模块函数变量一览
- openstack新手之命令行映射到执行函数
- 同一类消息或命令映射到同一个函数
- ngx映射到lua模块函数变量一览
- ngx映射到lua模块函数变量一览
- 质数的无穷性——从素数到数论
- [微积分学习]Day 5.函数在无穷远处的极限
- 为什么要加一个throw()到你的函数中?
- 第十二周项目三(1)
- 福建辣椒王鉴别
- spring amqp股票交易(四)
- 《Pro Git 2》学习笔记_Chapter 10_Tree Objects&Commit_Objects
- vector调用push_back() 内存泄露的风险
- 为什么高斯核函数映射到无穷维度?
- pop 1270 Following Orders(拓扑排序)
- 软件架构————防御式编程
- How to share text to Message in the app you are building(iOS platform)
- 汇编指令和机器码的对应表
- 重装系统时,遇到的“windows 无法安装到这个磁盘.选中的磁盘采用GPT分区形式”解决办法
- mysql错误编号和jdbc对应的sql编号对应一览
- SQLPLUS中SQL换行执行
- mysql编码和Java编码对应一览表