1、线性分类器(Linear Regression) 1.1贝叶斯分类器 朴素贝叶斯(Naive Bayes)分类器,以垃圾邮件分类为例子,需要特征之间满足条件独立的假设; 局限性: (1)要求自变量和因变量之间满足线性关系; (2)因变量是定量变量,不可以是分类变量;如果因变量是分类变量,必须用l...
分类:
其他好文 时间:
2014-07-16 21:09:56
阅读次数:
268
在CSS中background:-moz-linear-gradient让网站背景渐变的属性,目前火狐3.6以上版本和google浏览器支持这个属性。background:-moz-linear-gradient(top,#bccfe30%,#d2dded100%);适合FF3.6+backgrou...
分类:
Web程序 时间:
2014-07-16 20:55:53
阅读次数:
322
For the Bayesian linear regression, likelihood function is Gaussian, conjugate prior is Gaussian, we can get the posterior is also Gaussian.However, f...
分类:
其他好文 时间:
2014-07-16 20:08:48
阅读次数:
164
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:
其他好文 时间:
2014-07-06 13:17:57
阅读次数:
199
前面介绍的栈、队列都是线性结构(linear structure)。而树是非线性结构(non-linear structure)。因此,树中的元素之间一般不存在类似于线性结构的一对一的关系,更多地表现为多对多的关系。直观地看,它是数据元素(在树中称为节点)按分支关系组织起来的结构。显然,树形结构是比线性结构更复杂的一种数据结构类型。树的定义:树是含有n个节点的有穷集合,其中有一个节点比较特殊称为根节点。在图示树时,用一条边连接两个有逻辑关系的节点,这个关系被称为父子关系。二叉树(Binary Tree)由节...
分类:
其他好文 时间:
2014-07-02 16:44:33
阅读次数:
183
background: -moz-linear-gradient(top, #8fa1ff, #3757fa); /* Firefox */background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ff4f0...
分类:
Web程序 时间:
2014-07-01 17:55:21
阅读次数:
282
.put { -webkit-transition:border linear .2s,-webkit-box-shadow linear .2s; outline:none; border-color:rgba(241,39,242,.6); -webkit-box-shadow:0 0 8px ...
分类:
其他好文 时间:
2014-07-01 17:46:03
阅读次数:
228
以下是几种常用的核函数表示:线性核(Linear Kernel)多项式核(Polynomial Kernel)径向基核函数(Radial Basis Function)也叫高斯核(Gaussian Kernel),因为可以看成如下核函数的领一个种形式:径向基函数是指取值仅仅依赖于特定点距离的实值函数,也就是。任意一个满足特性的函数 Φ都叫做径向量函数,标准的一般使用欧氏距离,尽管其他距离函数也是可...
分类:
其他好文 时间:
2014-07-01 10:54:27
阅读次数:
193
题目
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it witho...
分类:
其他好文 时间:
2014-07-01 06:24:42
阅读次数:
204
题目
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it...
分类:
其他好文 时间:
2014-07-01 06:23:24
阅读次数:
334