1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-12-22 03:38:13 +00:00

Update util_ds.py

Updated links
This commit is contained in:
Carlos A. Iglesias 2024-02-21 11:40:06 +01:00 committed by GitHub
parent 8ffda8123a
commit 47148f2ccc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ def get_code(tree, feature_names, target_names,
recurse(left, right, threshold, features, 0, 0) 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 numpy as np
import matplotlib.pyplot as plt 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.suptitle("Decision surface of a decision tree using paired features")
plt.legend() plt.legend()
plt.show() plt.show()