- 1 edited
r11359 r11404 34 34 35 35 36 Signal : code:`Examples` sends data only if some tree node is selected and 36 Signal ::`Examples` sends data only if some tree node is selected and 37 37 contains some examples. 38 38 … … 56 56 the animals that don't give milk and have no feathers (the pictures shows 57 57 a tree for the zoo data set) would be split according to whether they are 58 :code:`aquatic`or not. In case of continuous attributes, a cut off point 58 or not. In case of continuous attributes, a cut off point 59 59 needs to be specified as well. 60 60 61 61 If Split is used on a node which is not a leaf, the criterion at that node 62 is replaced. If we, for instance, selected the <root>node and pushed 63 Split, the criterion :code:`milk` would be replaced with :code:`aquatic` 64 and the nodes below ( :code:`feathers`) are removed. 62 is replaced. If we, for instance, selected the node and pushed 63 :obj:`Split`, the criterion *milk* would be replaced with *aquatic* 64 and the nodes below () are removed. 65 65 66 66 Button :obj:`Cut` cuts the tree at the selected node. If we pushed Cut 67 67 in the situation in the picture, nothing would happen since the selected 68 node (: code:`feathers=0`) is already a leaf. If we selected :code:`<root>` 68 node (::`<root>` 69 69 and pushed Cut, the entire tree would be cut off. 70 70 71 Cut is especially useful in combination with : code:`Build` which builds 71 Cut is especially useful in combination with ::`Build` which builds 72 72 a subtree at the current node. So, if we push Build in the situation 73 73 depicted above, a subtree would be built for the milkless featherless
Note: See TracChangeset for help on using the changeset viewer.