我期待實施Lindeberg在其關於尺度空間理論的工作中定義的discrete Gaussian kernel。它被定義爲T(n,t)= exp(-t)* I_n(t),其中I_n是modified Bessel function of the first kind。 我想在Python中使用Numpy和Scipy實現這一點,但我遇到了一些麻煩。 def discrete_gaussian_ker
所以我有數據,我可以在散點圖中繪製的兩份名單,因爲這樣的: from matplotlib import pyplot as plt
x = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
y = [22.4155688819,22.3936180362,22.3177538001,22.1924849792,21.77211945
我目前正試圖通過高斯混合模型來推測缺失的數據。 我的參考文獻是從這裏: http://mlg.eng.cam.ac.uk/zoubin/papers/nips93.pdf 我目前專注於具有2高斯分量的雙變量數據集。 這是定義的權重爲每個高斯分量代碼: myData = faithful[,1:2]; # the data matrix
for (i in (1:N)) {
prob1