Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed sklearn to scikit-learn #507

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions benchmarks/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import PIL
import torch
import torch.nn.functional as F
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
from scikit-learn.datasets import make_classification
from scikit-learn.model_selection import train_test_split
from torchvision import transforms


Expand Down
2 changes: 1 addition & 1 deletion benchmarks/run_historical_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_dates(day=26):

# install PyTorch
subprocess.call(
f"{venv} pip3 install onnx==1.6.0 tensorboard pandas sklearn", shell=True
f"{venv} pip3 install onnx==1.6.0 tensorboard pandas scikit-learn", shell=True
)
stable_url = "https://download.pytorch.org/whl/torch_stable.html"
pip_torch = f"pip install torch==1.5.1+cu{cuda_version} torchvision==0.6.1+cu{cuda_version} -f https://download.pytorch.org/whl/torch_stable.html"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ pyyaml>=5.3.1
tensorboard
future
scipy>=1.6.0
sklearn
scikit-learn