Icon

Regression Tree Toy Example without Python

Loading the Auto-MPG data from a table.Splitting the data into the training and testing data sets Regression tree modelParameters are:-Tree depth = 3-Minimum node size = 10 Regression tree example with the Auto MPG data setThis workflow shows a regression tree to model MPG (miles per gallon) of cars based ontheir HP (horsepower). This example uses the Auto MPG Data Set from the UCI MachineLearning Repository (https://archive.ics.uci.edu/ml/datasets/Auto+MPG). Fitting the trained model Examining the model-Numeric scorer to calculatevarious goodness-of-fitmetrics-Scatter plot of observed(testing data) vs the model Train- test80% - 20%Regression treeMPG vs HPPrediction ontesting dataPrediction performanceLoading the Auto-MPGdata tableprepare data for the scatter plotcolorpredictionsvs. actualsMPG vs. HP+ predictions Partitioning Simple RegressionTree Learner Simple RegressionTree Predictor Numeric Scorer Table Reader Prepare data Color Manager Scatter Plot Loading the Auto-MPG data from a table.Splitting the data into the training and testing data sets Regression tree modelParameters are:-Tree depth = 3-Minimum node size = 10 Regression tree example with the Auto MPG data setThis workflow shows a regression tree to model MPG (miles per gallon) of cars based ontheir HP (horsepower). This example uses the Auto MPG Data Set from the UCI MachineLearning Repository (https://archive.ics.uci.edu/ml/datasets/Auto+MPG). Fitting the trained model Examining the model-Numeric scorer to calculatevarious goodness-of-fitmetrics-Scatter plot of observed(testing data) vs the model Train- test80% - 20%Regression treeMPG vs HPPrediction ontesting dataPrediction performanceLoading the Auto-MPGdata tableprepare data for the scatter plotcolorpredictionsvs. actualsMPG vs. HP+ predictions Partitioning Simple RegressionTree Learner Simple RegressionTree Predictor Numeric Scorer Table Reader Prepare data Color Manager Scatter Plot

Nodes

Extensions

Links