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.

Adding a second model with C&RT

Adding a second model with C&RT

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

Start my 1-month free trial

Adding a second model with C&RT

- [Instructor] The current model will have similar steps but pay particular attention to how I'm going to organize the two models on the screen. I'm going to bring in my cart modeling node and I'm going to connect this to the partition node. My favorite way to do that is pressing the wheel mouse and dragging out and releasing. Let's edit that modeling node. And we notice that the type node is automatically declared the target and the inputs. That's actually what this setting means, use predefined roles, it means that the type node is in charge and we can run the model. Here's the step that I cautioned you about. If we keep this organized the way that it is now, the Chaid results will go one way and the Cart results will go another way, and that's actually not what we want. We want to hook those up like train cars, one after the other so that the predictions of both models will go to the same place. It may seem at first, that the cart model benefits in some way from the chaid model but…

Contents