Skip to content

Commit ed26c17

Browse files
authored
drop sklearn dependency (#801)
1 parent 6443d15 commit ed26c17

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def setup(app):
295295
MOCK_REQUIRE_PACKAGES.append(pkg.rstrip())
296296

297297
# TODO: better parse from package since the import name and package name may differ
298-
MOCK_MANUAL_PACKAGES = ['torch', 'torchvision', 'sklearn', 'test_tube', 'mlflow', 'comet_ml', 'wandb', 'neptune']
298+
MOCK_MANUAL_PACKAGES = ['torch', 'torchvision', 'test_tube', 'mlflow', 'comet_ml', 'wandb', 'neptune']
299299
autodoc_mock_imports = MOCK_REQUIRE_PACKAGES + MOCK_MANUAL_PACKAGES
300300
# for mod_name in MOCK_REQUIRE_PACKAGES:
301301
# sys.modules[mod_name] = mock.Mock()

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
scikit-learn>=0.20.2
21
tqdm>=4.35.0
32
numpy>=1.16.4
43
torch>=1.1

0 commit comments

Comments
 (0)