Skip to content

Commit

Permalink
Merge pull request #18 from lvkd84/master
Browse files Browse the repository at this point in the history
Fix a bug in MISVM __init__. Set max_iters default to 50.
  • Loading branch information
garydoranjr authored Jul 5, 2019
2 parents d7eb787 + 9f4fb37 commit df22c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misvm/mi_svm.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MISVM(SIL):
The MI-SVM approach of Andrews, Tsochantaridis, & Hofmann (2002)
"""

def __init__(self, restarts=0, max_iters=0, **kwargs):
def __init__(self, restarts=0, max_iters=50, **kwargs):
"""
@param kernel : the desired kernel function; can be linear, quadratic,
polynomial, or rbf [default: linear]
Expand Down

0 comments on commit df22c4f

Please sign in to comment.