Merge pull request #2632 from freqtrade/dependabot/pip/develop/scikit-learn-0.22

Bump scikit-learn from 0.21.3 to 0.22
This commit is contained in:
Matthias 2019-12-10 16:20:39 +01:00 committed by GitHub
commit b2a9b87be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -7,6 +7,7 @@ This module contains the hyperopt logic
import locale import locale
import logging import logging
import sys import sys
import warnings
from collections import OrderedDict from collections import OrderedDict
from operator import itemgetter from operator import itemgetter
from pathlib import Path from pathlib import Path
@ -19,8 +20,6 @@ from colorama import init as colorama_init
from joblib import (Parallel, cpu_count, delayed, dump, load, from joblib import (Parallel, cpu_count, delayed, dump, load,
wrap_non_picklable_objects) wrap_non_picklable_objects)
from pandas import DataFrame from pandas import DataFrame
from skopt import Optimizer
from skopt.space import Dimension
from freqtrade import OperationalException from freqtrade import OperationalException
from freqtrade.data.history import get_timeframe, trim_dataframe from freqtrade.data.history import get_timeframe, trim_dataframe
@ -32,6 +31,13 @@ from freqtrade.optimize.hyperopt_loss_interface import IHyperOptLoss # noqa: F4
from freqtrade.resolvers.hyperopt_resolver import (HyperOptLossResolver, from freqtrade.resolvers.hyperopt_resolver import (HyperOptLossResolver,
HyperOptResolver) HyperOptResolver)
# Suppress scikit-learn FutureWarnings from skopt
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=FutureWarning)
from skopt import Optimizer
from skopt.space import Dimension
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -3,7 +3,7 @@
# Required for hyperopt # Required for hyperopt
scipy==1.3.3 scipy==1.3.3
scikit-learn==0.21.3 scikit-learn==0.22
scikit-optimize==0.5.2 scikit-optimize==0.5.2
filelock==3.0.12 filelock==3.0.12
joblib==0.14.0 joblib==0.14.0