Skip to content

Commit

Permalink
Replace pygam with scikit-learn
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbinBouwmeester committed Aug 30, 2024
1 parent f3afbe0 commit 4bebd13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions deeplc/deeplc.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"

# Feature extraction
from pygam import LinearGAM, s

from deeplc.feat_extractor import FeatExtractor


Expand Down Expand Up @@ -253,9 +251,6 @@ def __init__(
self.pygam_calibration = pygam_calibration
self.deeplc_retrain = deeplc_retrain

if self.pygam_calibration:
from pygam import LinearGAM, s

self.deepcallc_mod = deepcallc_mod

self.predict_ccs = predict_ccs
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
"numpy>=1.17,<2",
"pandas>=0.25",
"h5py>=2.10.0,<4",
"pygam>=0.8.0",
"scikit-learn>=1.2.0",
"deeplcretrainer>=1,<2",
"psm_utils>=0.2.3",
"hdf5plugin>=4.1.1",
Expand Down

0 comments on commit 4bebd13

Please sign in to comment.