Skip to content

Commit b0d69f2

Browse files
committed
OWLogisticRegression: Fix random seed to 0
1 parent 5085c57 commit b0d69f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Orange/widgets/model/owlogisticregression.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def create_learner(self):
7979
C=self.strength_C,
8080
fit_intercept=self.fit_intercept,
8181
intercept_scaling=self.intercept_scaling,
82-
preprocessors=self.preprocessors
82+
preprocessors=self.preprocessors,
83+
random_state=0
8384
)
8485

8586
def update_model(self):

0 commit comments

Comments
 (0)