Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalIversen committed Oct 29, 2024
2 parents eb2a4cf + 27ccc29 commit f6f3646
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions drevalpy/models/SRMF/srmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,21 @@ def load_drug_features(self, data_path: str, dataset_name: str) -> FeatureDatase
:param dataset_name:
"""
return load_drug_fingerprint_features(data_path, dataset_name)


def load(self, path):
"""
Loads the model from a given path.
:param path: Path to the model
"""
raise NotImplementedError("SRMF does not support loading yet ...")


def save(self, path):
"""
Saves the model to a given path.
:param path: Path to save the model
"""
raise NotImplementedError("SRMF does not support saving yet ...")
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tool.poetry]
name = "drevalpy"
version = "1.0.6"
version = "1.0.8"
description = "Drug response evaluation of cancer cell line drug response models in a fair setting"
authors = ["DrEvalPy development team"]
license = "GPL-3.0"
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python = ">=3.9"
numpy = ">=1.20,<1.25"
scipy = "*"
scikit-learn = ">=1.4"
Expand Down

0 comments on commit f6f3646

Please sign in to comment.