Skip to content

Commit 0917b29

Browse files
authored
MNT: Simplify parallel calls (#632)
* MNT: sort imports Signed-off-by: DerWeh <andreas.weh@web.de> * MNT: simplify if statement (ruff) Signed-off-by: DerWeh <andreas.weh@web.de> * MNT: avoid intermediate parameter list Signed-off-by: DerWeh <andreas.weh@web.de> * MNT: avoid negative if statements Signed-off-by: DerWeh <andreas.weh@web.de> * MNT: don't repeat common boosting arguments Signed-off-by: DerWeh <andreas.weh@web.de> --------- Signed-off-by: DerWeh <andreas.weh@web.de>
1 parent 97f29e4 commit 0917b29

File tree

2 files changed

+184
-238
lines changed

2 files changed

+184
-238
lines changed

python/interpret-core/interpret/glassbox/_ebm/_boost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
import heapq
55
import logging
6+
from multiprocessing import shared_memory
67

78
import numpy as np
89

910
from ... import develop
1011
from ...utils._native import Booster, Native
11-
from multiprocessing import shared_memory
1212

1313
_log = logging.getLogger(__name__)
1414

0 commit comments

Comments
 (0)