因此,我设置了一系列不同参数(频率、角度和标准差)的Gabor滤波器,并将每个滤波器与输入图像进行卷积,并查看输出幅度图像的均值和方差。因此,在python中,它看起来类似于:from scipy import ndimage as nd
# Here kernel is a given Gabor,我注意到相对于平均值,方差是非常高的。例如,我得到的值类似于(平均值= 0.83,方差= 900)。我想知道这是否是人们经常看到的
我有以下代码,用于估计文本字符串属于特定类(正数或负数)的概率。= dict([(word, True) for word in words])probs = classifier.prob_classify(feats) print('%s probability: %s' % (sample, probs.prob(sample)))它产生以下结果:
ne