Update lib versions and add pydot, fixes #29

This commit is contained in:
Aurélien Geron
2022-09-22 19:14:01 +12:00
parent de0f184265
commit 79ce441212
21 changed files with 145 additions and 118 deletions

View File

@@ -36,7 +36,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Python 3.7 is required:"
"This project requires Python 3.7 or above:"
]
},
{
@@ -50,6 +50,7 @@
"outputs": [],
"source": [
"import sys\n",
"\n",
"assert sys.version_info >= (3, 7)"
]
},
@@ -57,7 +58,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Make this notebook's output stable across runs:"
"Scikit-Learn ≥1.0.1 is required:"
]
},
{
@@ -66,27 +67,10 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"\n",
"np.random.seed(42)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Scikit-Learn ≥1.0 is required:"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"from packaging import version\n",
"import sklearn\n",
"\n",
"assert sklearn.__version__ >= \"1.0\""
"assert version.parse(sklearn.__version__) >= version.parse(\"1.0.1\")"
]
},
{
@@ -98,7 +82,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
@@ -111,6 +95,24 @@
"plt.rc('ytick', labelsize=10)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Make this notebook's output stable across runs:"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"\n",
"np.random.seed(42)"
]
},
{
"cell_type": "markdown",
"metadata": {},
@@ -1713,7 +1715,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.10"
"version": "3.10.6"
},
"metadata": {
"interpreter": {