Icon

02_​Regression_​Tree_​solution

Regression Tree - solution
Exercise: Regression TreeIn this exercise we will predict the price of a house in Ames (Iowa, USA) given a number of features: size, neighborhood, heating...1) Add Partitioning node to CSV Reader output port- Top port should have 70 % of the rows- Draw randomly such rows2) Add Simple Regression Tree Learner node to top output port of Partitioning node- Select price column to be learned- Execute the node and open its decision tree view. Which column is used in the beginning of the tree?3) Add Simple Regression Tree Predictor node- Predict test set (remaining 30% rows) by simply connecting the remaining unconnected output ports4) Remove rows with missing prediction (Missing Value node)5) Add Numeric Scorer node to Regression Predictor output port- Reference Column: the column you learned- Predicted Column: the new column created by the predictor node Price Prediction: Regression Tree housing dataset Partitioning Numeric Scorer Simple RegressionTree Learner Simple RegressionTree Predictor Missing Value CSV Reader Exercise: Regression TreeIn this exercise we will predict the price of a house in Ames (Iowa, USA) given a number of features: size, neighborhood, heating...1) Add Partitioning node to CSV Reader output port- Top port should have 70 % of the rows- Draw randomly such rows2) Add Simple Regression Tree Learner node to top output port of Partitioning node- Select price column to be learned- Execute the node and open its decision tree view. Which column is used in the beginning of the tree?3) Add Simple Regression Tree Predictor node- Predict test set (remaining 30% rows) by simply connecting the remaining unconnected output ports4) Remove rows with missing prediction (Missing Value node)5) Add Numeric Scorer node to Regression Predictor output port- Reference Column: the column you learned- Predicted Column: the new column created by the predictor node Price Prediction: Regression Tree housing dataset Partitioning Numeric Scorer Simple RegressionTree Learner Simple RegressionTree Predictor Missing Value CSV Reader

Nodes

Extensions

Links