8000 Rename since we don't plot anything · johannah/scikit-learn@7ad90f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ad90f5

Browse files
committed
Rename since we don't plot anything
1 parent 4d0ba3c commit 7ad90f5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/tree/plot_structure.py renamed to examples/tree/unveil_tree_structure.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128

129129
common_node_id = np.arange(n_nodes)[common_nodes]
130130

131-
print("\nThe following sample %s share the node %s in the tree"
131+
print("\nThe following samples %s share the node %s in the tree"
132132
% (sample_ids, common_node_id))
133-
print("It is %s %% of all nodes."
134-
% (len(common_node_id) / n_nodes * 100,))
133+
print("It is %s %% of all nodes." % (100 * len(common_node_id) / n_nodes,))

0 commit comments

Comments
 (0)
0