Skip to content

Commit f7cdd38

Browse files
committed
2 parents e8e3c48 + 14266db commit f7cdd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: smo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def compute_alphas(self, X, y):
3838
loops = 0
3939
# main training loop
4040
while dirty or examineAll:
41-
print "on loop", loops
41+
print "on loop", loops, "num support vectors", np.shape(np.nonzero(self.alphas))[1]
4242
dirty = False
4343
if examineAll:
4444
# consider all examples

0 commit comments

Comments
 (0)