Skip to content

Commit

Permalink
Remove scikit-learn dependency (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Palazzo authored Mar 20, 2024
1 parent d861c4a commit bc465e6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -235,5 +235,5 @@ release-major: check-release bumpversion-major release

.PHONY: check-deps
check-deps:
$(eval allow_list='numpy=|pandas=|scikit-learn=|tqdm=|torch=|rdt=')
$(eval allow_list='numpy=|pandas=|tqdm=|torch=|rdt=')
pip freeze | grep -v "CTGAN.git" | grep -E $(allow_list) > $(OUTPUT_FILEPATH)
1 change: 0 additions & 1 deletion latest_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
numpy==1.26.4
pandas==2.2.1
rdt==1.10.0
scikit-learn==1.4.1.post1
torch==2.2.1
tqdm==4.66.2
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ dependencies = [
"pandas>=1.1.3;python_version<'3.10'",
"pandas>=1.3.4;python_version>='3.10' and python_version<'3.11'",
"pandas>=1.5.0;python_version>='3.11'",
"scikit-learn>=0.24;python_version<'3.10'",
"scikit-learn>=1.1.3;python_version>='3.10'",
"torch>=1.8.0;python_version<'3.10'",
"torch>=1.11.0;python_version>='3.10' and python_version<'3.11'",
"torch>=2.0.0;python_version>='3.11'",
Expand Down Expand Up @@ -123,7 +121,6 @@ namespaces = false
'*.png',
'*.gif'
]
'tests' = ['*']

[tool.setuptools.exclude-package-data]
'*' = [
Expand Down

0 comments on commit bc465e6

Please sign in to comment.