We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79c806 commit 90981c1Copy full SHA for 90981c1
code/python/cni_toolbox/HGR.py
@@ -399,8 +399,8 @@ def __create_gamma__(self):
399
400
for i in range(self.n_features):
401
for j in range(self.n_gaussians):
402
- self.gamma[:,i] += gaussian(x[i * n_gaussians + j],
403
- y[i * n_gaussians + j], sigma, x_coordinates, y_coordinates)
+ self.gamma[:,i] += gaussian(x[i * self.n_gaussians + j],
+ y[i * self.n_gaussians + j], sigma, x_coordinates, y_coordinates)
404
405
self.gamma[:, i] /= np.sum(self.gamma[:, i])
406
0 commit comments