Skip to content

Commit 4bebd13

Browse files
Replace pygam with scikit-learn
1 parent f3afbe0 commit 4bebd13

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

deeplc/deeplc.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@
8080
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
8181

8282
# Feature extraction
83-
from pygam import LinearGAM, s
84-
8583
from deeplc.feat_extractor import FeatExtractor
8684

8785

@@ -253,9 +251,6 @@ def __init__(
253251
self.pygam_calibration = pygam_calibration
254252
self.deeplc_retrain = deeplc_retrain
255253

256-
if self.pygam_calibration:
257-
from pygam import LinearGAM, s
258-
259254
self.deepcallc_mod = deepcallc_mod
260255

261256
self.predict_ccs = predict_ccs

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies = [
3535
"numpy>=1.17,<2",
3636
"pandas>=0.25",
3737
"h5py>=2.10.0,<4",
38-
"pygam>=0.8.0",
38+
"scikit-learn>=1.2.0",
3939
"deeplcretrainer>=1,<2",
4040
"psm_utils>=0.2.3",
4141
"hdf5plugin>=4.1.1",

0 commit comments

Comments
 (0)