The AbleDecisionTreeClassifierAgent provides a classification function. The Decision Tree algorithm is used as the classifier model. To use the Decision Tree agent, the user must specify the data source (and meta data in the form of a *.dfn file). Generating a Decision Tree classification agent will:
At the end of these steps, the classifier agent is configured and the decision tree model is constructed according to the Import corresponding to the input file. Now one of the test or run phases can begin, which means that the decision tree bean is connected to the other import bean and starts its classification function. The user can choose to test the decision tree algorithm via Step/Cycle/Run/Halt buttons on the Agent Editor toolbar. Step button will process one test/run example at a time, while Cycle button will make a pass through all the examples in the test/run file. Run button will cycle through the data until the Stop button is pushed. Whenever the Reset button is pushed, all the corresponding statistics (e.g., accuracy, error, total number of tested examples, number of correctly classified examples) are reset to their default values.