November 2018
Intermediate to advanced
300 pages
7h 42m
English
We have loaded our data and selected the best features, and we are ready to learn some classification models. Let's begin with basic decision trees.
In Weka, a decision tree is implemented within the J48 class, which is a reimplementation of Quinlan's famous C4.5 decision tree learner (Quinlan, 1993).
We will make a decision tree by using the following steps:
J48 tree = new J48(); String[] options ...