Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
interimage:examples:supervised_c45 [2010/06/23 17:50] hermann |
interimage:examples:supervised_c45 [2010/09/14 11:42] (current) tkorting |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Supervised Classification Using Decision Trees ====== | ====== Supervised Classification Using Decision Trees ====== | ||
- | InterIMAGE performs supervised classification through the C4.5 decision tree classifier. This example shows how to perform a supervised classification, using the Top Down operator //TerraAIDA_C45_Classifier//. | + | InterIMAGE performs supervised classification through the C4.5 decision tree classifier. This example shows how to perform a supervised classification, using the Top Down operator //TA_C45_Classifier//. |
===== Download ===== | ===== Download ===== | ||
- | {{:interimage:examples:interimage_examples_supervised_c45.zip}} | + | {{:interimage:examples:ta_interimage_examples_supervised_c45.zip}} |
===== Step-by-step ===== | ===== Step-by-step ===== | ||
Line 11: | Line 11: | ||
In order to perform classification, the user must train the algorithm by providing samples of every class. In this way, the classification algorithm creates a decision tree and applies it into the set of objects, classifying them. | In order to perform classification, the user must train the algorithm by providing samples of every class. In this way, the classification algorithm creates a decision tree and applies it into the set of objects, classifying them. | ||
- | Firstly define your interest classes, and create nodes for them. All nodes must be in the same level, only one of them must have the //TerraAIDA_C45_Classifier// as Top Down Operator, and all the remaining nodes must have //No Operator//. Note: your classes of interest must be with the option **TopDown Multi-Class** selected. | + | Firstly define your interest classes, and create nodes for them. All nodes must be in the same level, only one of them must have the //TA_C45_Classifier// as Top Down Operator, and all the remaining nodes must have //No Operator//. Note: your classes of interest must be with the option **TopDown Multi-Class** selected. |
{{:interimage:examples:supervised_c45_nodes.png?600}} | {{:interimage:examples:supervised_c45_nodes.png?600}} | ||
Line 19: | Line 19: | ||
{{:interimage:examples:samples_editor.png?600}} | {{:interimage:examples:samples_editor.png?600}} | ||
- | Select one operator to perform segmentation (//i.e. TerraAIDA_Baatz_Segmenter//), and press //Segment//. Afterwards, when the objects appear inside the image, select one interest class, and press //Collect Samples//. Then select all your samples to the interest class, and press //Collect Samples// again to stop the selection. Perform this for all your interest classes. | + | Select one operator to perform segmentation (//i.e. TA_Baatz_Segmenter//), and press //Segment//. Afterwards, when the objects appear inside the image, select one interest class, and press //Collect Samples//. Then select all your samples to the interest class, and press //Collect Samples// again to stop the selection. Perform this for all your interest classes. |
Note that your selected objects will be highlighted with the corresponding class: | Note that your selected objects will be highlighted with the corresponding class: |