Skip to content

Commit

Permalink
Merge pull request #5053 from janezd/svm-c-1
Browse files Browse the repository at this point in the history
SVM: Set default coef0 in polynomial kernel to 1
  • Loading branch information
irgolic committed Nov 6, 2020
2 parents 7eb37ed + bfda8c2 commit 887648d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/model/owsvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Warning(OWBaseLearner.Warning):
#: gamma
gamma = Setting(0.0)
#: coef0 (adative constant)
coef0 = Setting(0.0)
coef0 = Setting(1.0)

#: numerical tolerance
tol = Setting(0.001)
Expand Down

0 comments on commit 887648d

Please sign in to comment.