马尔科夫随机场(Markov Random Fields, MRFs) MRFs与Gibbs分布等价。 条件随机场(Conditional Random Fields, CRFs): CRFs的训练方法:迭代梯度法(Iterative Scaling)和L-BFGS 迭代梯度法包括:GIS(Gene ...
分类:
其他好文 时间:
2016-12-08 20:42:39
阅读次数:
252
参数估计:主要有EM算法和Gibbs采样 EM算法: Gibbs采样: ...
分类:
其他好文 时间:
2016-12-08 20:36:18
阅读次数:
176
Solution 1: Reservior sampling: (wiki introduction) Reservoir sampling is a family of randomized algorithms for randomly choosing a sample of k items ...
分类:
其他好文 时间:
2016-11-29 09:28:31
阅读次数:
247
用蒙特卡洛求解积分时 (Monte Carlo 随机采样对目标积分函数做近似) importance sampling func p(x) p(x)值大的地方,Monte Carlo多采几次 值小的地方,少采样一些。 一起贡献MC的积分值 http://blog.sina.com.cn/s/blog ...
分类:
其他好文 时间:
2016-11-17 20:31:51
阅读次数:
427
首先说一下Reservoir Sampling的原理 ref: http://www.geeksforgeeks.org/reservoir-sampling/ 分析其中的概率: 对于第i个数,它被换入水塘的概率是 k/i,并且在下一次替换中,下一个数被替换进去的概率是 k/i+1,刚好替换到它的概 ...
分类:
其他好文 时间:
2016-10-31 09:07:05
阅读次数:
157
randomly choose a sample of k items from a list S containing n elements, the algorithm may be online (i.e. the input list is unknown beforehand) https ...
分类:
其他好文 时间:
2016-10-28 02:30:32
阅读次数:
127
Conventional sampling techniques are based on Shannon-Nyquist theory which states that the required sampling rate for perfect recovery of a band-limit... ...
分类:
其他好文 时间:
2016-08-22 23:00:31
阅读次数:
272
Q: When you use `go tool pprof` get heap data, profile is empty. A: The default sampling rate is 1 sample per 512KB of allocated memory. So If you app ...
分类:
其他好文 时间:
2016-07-15 13:39:32
阅读次数:
422
http://www.tuicool.com/articles/63aANv 一、序言 陆陆续续的如果累计起来,我估计至少有二十来位左右的朋友加我QQ,向我咨询有关抠图方面的算法,可惜的是,我对这方面之前一直是没有研究过的。除了利用和Photoshop中的魔棒一样的技术或者Photoshop中的选区 ...
分类:
编程语言 时间:
2016-06-16 16:13:59
阅读次数:
626