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:
parent
8ffda8123a
commit
47148f2ccc
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user