From the course: Introduction to Machine Learning with KNIME

Unlock the full course today

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

Regression example

Regression example - KNIME Tutorial

From the course: Introduction to Machine Learning with KNIME

Start my 1-month free trial

Regression example

- Okay, so our first modeling example is going to be linear regression. We're going to be using the linear regression learner, and the partitioning node. Okay, the time has arrived to build a little bit more of an elaborate work flow. Let's build a regression model. Here we go, I'm going to need a file reader. I'm going to use the data set that we have used before. It's in the exercise files, auto. Quick reminder of what this looks like, it's a bunch of car names, and miles per gallons, and variables that we can use to predict miles per gallon. Okay, so since we're going to build a predictive model, we're going to want to create train and test partitions, so let's do that, and we see the partitioning node is a row transform node, but just by spelling it out it's very easy to find. We'll go inside and we want not just the first hundred rows, we want a relative 80%. 80% is not a very big data set, frankly. And that's it. So what we can do, is take a look at our first partition. I didn't…

Contents