A vector-valued random variable $x\in \mathbb{R}^n$ is said to have a multivariate gaussian ( or normal) distribution with mean $\mu\in \mathbb{R}^n$ ...
分类:
其他好文 时间:
2020-02-09 18:14:46
阅读次数:
59
The marginal likelihood is the integral of the likelihood times the prior$$ p(y|X) = \int p(y| f, X) p(f | X) df $$The term marginal likelihood refers ...
分类:
其他好文 时间:
2020-02-09 18:07:26
阅读次数:
66
代码含学习曲线绘制。 1 from sklearn.datasets import load_breast_cancer 2 data=load_breast_cancer() 3 X,y=data.data,data.target 4 5 from sklearn.model_selection ...
分类:
其他好文 时间:
2020-02-03 18:56:07
阅读次数:
83
/** @brief Blurs an image using a Gaussian filter. The function convolves the source image with the specified Gaussian kernel. In-place filtering is s ...
分类:
其他好文 时间:
2020-01-29 18:22:52
阅读次数:
85
1. 直推式的PCA 基本步骤: 对样本数据进行中心化处理(这步操作比较重要,特别是对推导公式) 求样本的协方差矩阵; 对样本的协方差矩阵进行特征值分解,并通过前k个特征值对应的特征向量进行映射: PCA的优化目标是: X = D + N,即低秩矩阵D和独立同分布的Gaussian噪声; 1 def ...
分类:
编程语言 时间:
2020-01-10 22:12:25
阅读次数:
95
Discrete Gaussian Distribution $D_{\Lambda,r}$: Condition: 1. Lattic $\Lambda$ 2. Scaling factor $r$ 3. Central Point ${\bf c}={\bf 0}$ Matlab impleme ...
分类:
其他好文 时间:
2020-01-09 13:05:36
阅读次数:
82
Sharpen() 第一种表示法是使用公式,而第二种表示法是使用掩码对第一种表示法进行压缩的版本。使用掩码时,将掩码矩阵的中心放在要计算的像素上。 输出结果: 原始图像,sharpen ,filterD 代码:Sharpen.cpp #include <iostream> #include <ope ...
分类:
其他好文 时间:
2020-01-03 00:53:59
阅读次数:
83
import numpy as np # (1)random(d0,d1,....dn)用来生成d0*d1*....*dn维的数组。数组的值在[0,1)之间 np.random.rand(3,2,2)#生成一个3*2*2的数组 array([[[0.10141273, 0.97087629], [0 ...
分类:
其他好文 时间:
2019-12-06 13:59:28
阅读次数:
98
高斯分布数学公式 $$f(x)=\frac{1}{ \sqrt{2\pi\sigma} } \cdot e^{ \frac{ (x \mu)^2}{2\sigma^2}}$$ 期望(平均数):μ 标准差$:σ$, 方差$σ^2$为。 当$\mu=0$和$\sigma=1$时候称为: 标准正态分布 。 ...
分类:
其他好文 时间:
2019-12-04 13:11:50
阅读次数:
157