Skip to content

Commit 2c54728

Browse files
mariomario
authored andcommitted
corrected self.phi->phi
1 parent 98ea7b5 commit 2c54728

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/python/cni_toolbox/HGR.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ def update(self, data, stimulus):
108108
phi = self.phi_processor.update(phi)
109109
y = self.data_processor.update(data)
110110
self.theta += self.eta * \
111-
(np.matmul(self.phi.transpose(), y) -
111+
(np.matmul(phi.transpose(), y) -
112112
np.matmul(
113-
np.matmul(self.phi.transpose(), self.phi),
113+
np.matmul(phi.transpose(), phi),
114114
self.theta))
115115

116116
def ridge(self, data, stimulus):

0 commit comments

Comments
 (0)