From the course: Machine Learning and AI Foundations: Decision Trees with SPSS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Analysis nodes

Analysis nodes

- [Instructor] The easiest way to compare models is the analysis node. So let's add an analysis node and run it. Again I'm using the wheel mouse to drag out to make the connection from the second of our two models. Notice that I'm running this without making any additional commands or any additional instruction. Now there's a lot of information here, so we're going to go by step-by-step. The CHAID indicated by $R is simply the first of the two models. So we know that's the CHAID, because the CHAID occurred first in the stream. And we've got the performance on the training data at 85.45%. And then we've got the performance on the testing data. Now a rule of thumb that's commonly used is we don't want more than a 5% drop. And unfortunately, in this case there is more than a 5% drop between the train and the test. If we subtract 5% from 85 we get to just over 80 and 78.41 is lower than that. So what we would say is the CHAID is a bit unstable. It hasn't tested that well. We're certainly…

Contents