From 2a3d469eb247b850650d85087979dd87c48ed246 Mon Sep 17 00:00:00 2001 From: Georg Wendorf <22711712+pcjedi@users.noreply.github.com> Date: Sun, 10 Jul 2022 21:58:47 +0200 Subject: [PATCH 1/2] Update neural.py --- mlrose/neural.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlrose/neural.py b/mlrose/neural.py index 16c8971a..c726626f 100644 --- a/mlrose/neural.py +++ b/mlrose/neural.py @@ -9,7 +9,7 @@ import numpy as np from sklearn.base import BaseEstimator, ClassifierMixin, RegressorMixin from sklearn.metrics import mean_squared_error, log_loss -from sklearn.externals import six +import six from .activation import identity, relu, sigmoid, softmax, tanh from .algorithms import random_hill_climb, simulated_annealing, genetic_alg from .opt_probs import ContinuousOpt From 8617479e193705adaefaec25169993bd8b9c0d0b Mon Sep 17 00:00:00 2001 From: Georg Wendorf <22711712+pcjedi@users.noreply.github.com> Date: Sun, 10 Jul 2022 22:13:04 +0200 Subject: [PATCH 2/2] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9e8eec20..c29ca5b5 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,6 @@ def readme(): "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules"], packages=['mlrose'], - install_requires=['numpy', 'scipy', 'sklearn'], + install_requires=['numpy', 'scipy', 'sklearn', 'six'], python_requires='>=3', zip_safe=False)