From 47148f2ccced54b685c47383a5f0c174fb040cb3 Mon Sep 17 00:00:00 2001 From: "Carlos A. Iglesias" Date: Wed, 21 Feb 2024 11:40:06 +0100 Subject: [PATCH] Update util_ds.py Updated links --- ml1/util_ds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ml1/util_ds.py b/ml1/util_ds.py index a4721f2..82bd21a 100644 --- a/ml1/util_ds.py +++ b/ml1/util_ds.py @@ -47,7 +47,7 @@ def get_code(tree, feature_names, target_names, recurse(left, right, threshold, features, 0, 0) -# Taken from http://scikit-learn.org/stable/auto_examples/tree/plot_iris.html#example-tree-plot-iris-py +# Taken from https://scikit-learn.org/stable/auto_examples/tree/plot_iris_dtc.html import numpy as np import matplotlib.pyplot as plt @@ -114,4 +114,4 @@ def plot_tree_iris(): plt.suptitle("Decision surface of a decision tree using paired features") plt.legend() - plt.show() \ No newline at end of file + plt.show()