usecase: One Step

public usecase: One Step
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 22:47:00; Modified: 10.12.2005 10:48:15;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {39B2D8C5-8DDE-4229-956E-3BCE777C113B}
 

Goto: Scenarios

See also: (The recursive cycle started for the actual node), Concrete Algorithm, Show Step Information

Appears in: Build Tree, Build Tree

Connections
 
One Step Scenarios
Scenario Type Detail
About Basic Path The step is done in some node of tree - on the data in table with the same number in node column. The algorithm is recursive.

The structure of the step is:

1. Test end condition. If it is satisfied end the branch of algorithm.
2. Get all the possible splitters (way to split data in the node).
- If there is no splitter, end the branch of algorithm.
3. Select the best splitter of them.
4. Splitt the data according the best splitter and for each new son do a step.

In the step it is possible to make a pause and show the details of the splitters to user. It is in the case, that the DecTreeProperties.Step is true.
If the user abort the process of stepping (click Cancel or Run), the there are special private attributes (in DecTreeMethod) abortedProcess and noStep, which is also in each step tested.
End Condition Basic Path It is implemted in general algorithm (in DecTreeMethod) like EndCondition.

The end condition satisfies if the node is full of only one class.
Get Splitters Basic Path It is method-dependent work. Usually it makes a splitter from each attribute, which has at least two different values in the actual node. It realized in GetSplitters method of concrete algorithms. (See General Algorithm for more information about splitters idea.)
Select the Best Splitter Basic Path It is method-dependent work, but in the general algorithm there is a basic structure of this searching. Foreach splitter in the node it compares it with actual best one and the winner is the new best one. The comparing is done by CompareSplitters of concrete algorithms.
Split the Data Basic Path The splitting of the data according the splitter is done in DecTreeMethod.Split. There is no needed the concrete algorithm's help, because the interface (abstract class DecTreeSplitter) of splitters gives count of the parts and SQL condition for each this part. (See General Algorithm for more information about splitters idea.)