Unverified Commit bcefce6a authored by lin bin's avatar lin bin Committed by GitHub
Browse files

Add supporting sklearn=0.23.2 for nni (#2777)

parent 11825611
......@@ -141,7 +141,7 @@ jobs:
powershell.exe -file install.ps1
displayName: 'Install nni toolkit via source code'
- script: |
python -m pip install scikit-learn==0.20.0 --user
python -m pip install scikit-learn==0.23.2 --user
python -m pip install keras==2.1.6 --user
python -m pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html --user
python -m pip install tensorflow==1.15.2 --user
......
......@@ -60,9 +60,9 @@ RUN python3 -m pip --no-cache-dir install torch==1.4.0
RUN python3 -m pip install torchvision==0.5.0
#
# sklearn 0.20.0
# sklearn 0.23.2
#
RUN python3 -m pip --no-cache-dir install scikit-learn==0.20.0
RUN python3 -m pip --no-cache-dir install scikit-learn==0.23.2
#
# pandas==0.23.4 lightgbm==2.2.2
......
......@@ -11,7 +11,7 @@ scipy 1.1.0
tensorflow-gpu 1.15.0
keras 2.1.6
torch 1.4.0
scikit-learn 0.20.0
scikit-learn 0.23.2
pandas 0.23.4
lightgbm 2.2.2
nni
......
......@@ -63,7 +63,7 @@ setuptools.setup(
'scipy',
'coverage',
'colorama',
'scikit-learn>=0.20,<0.22',
'scikit-learn>=0.23.2',
'pkginfo',
'websockets'
],
......
......@@ -13,6 +13,6 @@ peewee
nbsphinx
schema
tensorboard
scikit-learn==0.20
scikit-learn>=0.23.2
thop
https://download.pytorch.org/whl/cpu/torch-1.3.1%2Bcpu-cp37-cp37m-linux_x86_64.whl
......@@ -41,7 +41,7 @@ setup(
'schema',
'PythonWebHDFS',
'colorama',
'scikit-learn>=0.20,<0.22',
'scikit-learn>=0.23.2',
'pkginfo',
'websockets'
],
......
......@@ -24,7 +24,7 @@ import numpy as np
import pandas as pd
from sklearn.base import BaseEstimator
from sklearn.feature_selection.base import SelectorMixin
from sklearn.feature_selection import SelectorMixin
from sklearn.utils.validation import check_is_fitted
import torch
......
numpy==1.14.3
scikit-learn==0.20.0
scikit-learn>=0.23.2
scipy==1.1.0
torch==1.1.0
scikit-learn==0.20
\ No newline at end of file
scikit-learn>=0.23.2
......@@ -8,4 +8,4 @@ scipy
hyperopt==0.1.2
# metis tuner
scikit-learn==0.20
scikit-learn>=0.23.2
......@@ -10,7 +10,7 @@ jobs:
displayName: 'Install nni toolkit via source code'
- script: |
set -e
python3 -m pip install scikit-learn==0.20.0 --user
python3 -m pip install scikit-learn==0.23.2 --user
python3 -m pip install torch==1.3.1 torchvision==0.4.2 -f https://download.pytorch.org/whl/torch_stable.html --user
python3 -m pip install tensorflow-gpu==2.2.0 tensorflow-estimator==2.2.0 --force --user
python3 -m pip install keras==2.4.2 --user
......
......@@ -7,7 +7,7 @@ jobs:
powershell.exe -file install.ps1
displayName: 'Install nni toolkit via source code'
- script: |
python -m pip install scikit-learn==0.20.0 --user
python -m pip install scikit-learn==0.23.2 --user
python -m pip install keras==2.1.6 --user
python -m pip install torchvision===0.4.1 torch===1.3.1 -f https://download.pytorch.org/whl/torch_stable.html --user
python -m pip install tensorflow-gpu==1.15.2 tensorflow-estimator==1.15.1 --force --user
......
......@@ -10,7 +10,7 @@ jobs:
displayName: 'Install nni toolkit via source code'
- script: |
set -e
python3 -m pip install scikit-learn==0.20.0 --user
python3 -m pip install scikit-learn==0.23.2 --user
python3 -m pip install torchvision==0.4.2 --user
python3 -m pip install torch==1.3.1 --user
python3 -m pip install keras==2.1.6 --user
......
......@@ -62,7 +62,7 @@ jobs:
displayName: 'Install nni toolkit via source code'
- script: |
set PATH=$(ENV_PATH)
python -m pip install scikit-learn==0.21.0 --user
python -m pip install scikit-learn==0.23.2 --user
displayName: 'Install dependencies for integration tests'
- script: |
cd test
......
......@@ -16,7 +16,7 @@ jobs:
powershell.exe -file install.ps1
displayName: 'Install nni toolkit via source code'
- script: |
python -m pip install scikit-learn==0.20.1 --user
python -m pip install scikit-learn==0.23.2 --user
displayName: 'Install dependencies for integration tests'
- task: SSH@0
inputs:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment