From the course: Introduction to Machine Learning with KNIME

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Decision tree

Decision tree

- [Instructor] K, we're going to do a decision tree example, so we're going to use the Decision Tree Learner, the partitioning node but we're also going to perform the assess model task of the modeling phase using the ROC curve node and the scorer node. Okay, so I'm calling this workflow chapter6_2 because we'll need room, we're going to be doing a number of different things. I've already prepped the Titanic dataset to use one more time but what we're going to want to do now is use the column filter because there were some nodes we don't want to send to the modeling nodes. Namely Ticket, Cabin, and Name. Those just aren't good candidates for any kind of predictive model, so we'll get those out of the way using the column filter node. Then we need to partition here, so just start to spell that and we see our partitioning node. Dataset isn't huge, so we'll do 80%. K and then let's add our decision tree learner. Notice the workflow coach is pretty clever, it's figuring out what I need as…

Contents