-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update versions of pandas, sqlalchemy, numpy, tensorflow, and scikit-…
…learn. (#84) * 📌 Updated versions for pandas, tensorflow, scikit-learn, sqlalchemy, numpy, * 📌 Updated versions for pandas, tensorflow, scikit-learn, sqlalchemy, numpy, * 🔖 Removed support for Python 3.9, added to CHANGELOG.md * 🔖 Added support to Python 3.11 * 🚨 Fixed linter issues. 🐛 Fixed bug checking utc timezone. * 🚨 Fixed more linting issues * 🚨 Fixed black compatibility * 🔖 Removed support for python 3.11 * 🐛 onehot features in feature engineer now return int32 * 🐛 Added numeric_only instead of skipna in the rolling median. * 🐛 Changed keras argument from "lr" to "learning_rate" * 🚨 Fixed linting issue * 📝 Fixed docstring example to have the right History object. * 🚨 Fixed warnings, and made some examples working. * 🚨 Fixed some whitespace * 🚨 Fixed some whitespace * 🚨 Linting? * 🐛 Fixes the SHAP example. * 🎨➖ Removes dependency on eli5, and now creates own feature importance scores. * 🎨 changed pandas hour character in some files * 🚨 Applied linter * 📝 Added documentation and removed ELI5 comments in code. --------- Co-authored-by: Adjorn <[email protected]>
- Loading branch information
Showing
35 changed files
with
206 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,10 +22,10 @@ packages = [ | |
|
||
[project] | ||
name = "sam" | ||
version = "3.1.11" | ||
version = "3.2.0" | ||
description = "Time series anomaly detection and forecasting" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
license = {text = "MIT"} | ||
authors = [{name = "Royal HaskoningDHV", email = "[email protected]"}] | ||
keywords = ["python", "data-science", "time-series", "forecasting", "anomaly-detection", "asset-management"] | ||
|
@@ -35,7 +35,7 @@ classifiers = [ | |
"Operating System :: OS Independent", | ||
] | ||
|
||
dependencies = ["pandas~=1.3", "numpy>=1.22,<1.24", "scikit-learn~=1.1,<1.3"] | ||
dependencies = ["pandas~=2.2", "numpy~=1.26", "scikit-learn~=1.5"] | ||
|
||
[project.optional-dependencies] | ||
all = [ | ||
|
@@ -46,8 +46,7 @@ all = [ | |
"requests", | ||
"scipy", | ||
"seaborn", | ||
"tensorflow>=2.9.1,<2.13.0", | ||
"eli5", | ||
"tensorflow~=2.17,<3", | ||
"Jinja2~=3.0.3", | ||
"shap", | ||
"plotly", | ||
|
@@ -56,12 +55,11 @@ all = [ | |
plotting = ["matplotlib", "plotly", "seaborn"] | ||
data-engineering = ["requests", "pymongo"] | ||
data-science = [ | ||
"tensorflow>=2.9.1,<3", | ||
"tensorflow~=2.17,<3", | ||
"cloudpickle", | ||
"nfft", | ||
"scipy", | ||
"shap", | ||
"eli5", | ||
"Jinja2~=3.0.3", | ||
"statsmodels" | ||
] | ||
|
@@ -74,7 +72,7 @@ docs = [ | |
"readthedocs-sphinx-search", | ||
"sphinx-markdown-tables", | ||
"toml", | ||
"tensorflow>=2.9.1,<3", | ||
"tensorflow~=2.17,<3", | ||
] | ||
|
||
[project.urls] | ||
|
@@ -85,7 +83,7 @@ documentation = "https://sam-rhdhv.readthedocs.io/en/latest/" | |
|
||
[tool.black] | ||
line-length = 99 | ||
target-version = ['py38', 'py39', 'py310'] | ||
target-version = ['py39', 'py310'] | ||
|
||
[tool.isort] | ||
profile = "black" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.