Skip to content

Commit 9e8a981

Browse files
committed
Downgrade scikit-learn and numpy versions for compatibility
1 parent f3c6749 commit 9e8a981

7 files changed

Lines changed: 42 additions & 51 deletions

.DS_Store

0 Bytes
Binary file not shown.

dist/fisher_scoring-0.1.1.tar.gz

-9.12 KB
Binary file not shown.
12.7 KB
Binary file not shown.

dist/fisher_scoring-0.1.2.tar.gz

9.14 KB
Binary file not shown.

poetry.lock

Lines changed: 38 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "fisher-scoring"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "A Python implementation of the Fisher Scoring algorithm for logistic regression, multinomial regression, and focal loss regression."
55
authors = ["xRiskLab <contact@xrisklab.ai>"]
66
license = "MIT"
@@ -25,9 +25,9 @@ packages = [
2525

2626
[tool.poetry.dependencies]
2727
python = "^3.9"
28-
numpy = "^2.0.1"
28+
numpy = "^1.19.5"
2929
pandas = "^2.2.2"
30-
scikit-learn = "^1.5.1"
30+
scikit-learn = "^1.3.0"
3131
black = "^24.4.2"
3232
isort = "^5.13.2"
3333
pylint = "^3.2.6"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mccabe==0.7.0 ; python_version >= "3.9" and python_version < "4.0"
1414
mdurl==0.1.2 ; python_version >= "3.9" and python_version < "4.0"
1515
moreorless==0.4.0 ; python_version >= "3.9" and python_version < "4.0"
1616
mypy-extensions==1.0.0 ; python_version >= "3.9" and python_version < "4.0"
17-
numpy==2.0.1 ; python_version >= "3.9" and python_version < "4.0"
17+
numpy==1.26.4 ; python_version >= "3.9" and python_version < "4.0"
1818
packaging==24.1 ; python_version >= "3.9" and python_version < "4.0"
1919
pandas==2.2.2 ; python_version >= "3.9" and python_version < "4.0"
2020
pathspec==0.12.1 ; python_version >= "3.9" and python_version < "4.0"

0 commit comments

Comments
 (0)