source: orange/docs/widgets/rst/classify/classificationtreeviewer.rst @ 11050:e3c4699ca155

Revision 11050:e3c4699ca155, 2.4 KB checked in by Miha Stajdohar <miha.stajdohar@…>, 16 months ago (diff)

Widget docs From HTML to Sphinx.

Line 
1.. _Classification Tree Viewer:
2
3Classification Tree Viewer
4==========================
5
6.. image:: ../icons/ClassificationTreeViewer.png
7
8A hierarchical browser for classification trees
9
10Signals
11-------
12
13Inputs:
14
15
16   - Classification Tree (orange.TreeClassifier)
17      A classification tree
18
19
20Outputs:
21
22   - Examples (orange.ExampleTable)
23      Examples from the selected tree node.
24
25
26Signal :code:`Classified Examples` sends data only if some tree node is selected and contains some examples.
27
28Description
29-----------
30
31The widget shows the tree as a hierarchy in a textual form. Although less fancy than the graphical viewer, much more information fits in a Tree Viewer's window than in the graphical viewer's one.
32
33.. image:: images/ClassificationTreeViewer.png
34   :alt: Classification Tree Viewer widget
35
36The widget's options allow choosing the columns to be displayed, setting the general depth of the display (individual nodes can, of course, be opened and closed manually).
37
38On the right hand side there is the tree, where it is possible to select a single node. The rule describing the particular node is shown at the bottom, and the training examples belonging to the node are put on the output.
39
40
41Examples
42--------
43
44The obvious use for the widget browsing the induced tree. Orange Canvas, however, offers something more exciting: the widget can be used for exploring the examples belonging to a certain node through using any other widget. If you are a beginner: this widget's output behaves exactly like the output of the file widget, with the exception that instead of reading the examples from a file, it gets them from the tree.
45
46.. image:: images/ClassificationTreeViewer-Schema.png
47   :alt: A schema with Classification Tree Viewer
48
49In the above example we constructed a tree from the Wisconsin breast cancer data. We explore the tree nodes by feeding the examples in the Data Table (boring!), by checking the attribute value distributions for each node and seeing where the examples lie in the Scatter plot. To make the latter more informative, the Scatter plot shows the entire data set (examples from the File Widget), but marking - by plotting solid symbols instead of hollow ones - the examples belonging to the particular tree node, as shown in the snapshot below.
50
51.. image:: images/ClassificationTreeViewer-Example-S.png
52   :alt: Scatter plot showing the examples from a particular tree node
Note: See TracBrowser for help on using the repository browser.