Icon

Regression Tree Toy Example

Loadin 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 on their HP(horsepower). This example uses the Auto MPG Data Set from the UCI Machine LearningRepository (https://archive.ics.uci.edu/ml/datasets/Auto+MPG). Fitting the trained model Examining the model-Numeric scorer to calculatevarious goodness-of-fit metrics-Scatter plot of observed (testingdata) vs the model Plotting data and predictedTrain- test80% - 20%Regression treeMPG vs HPPrediction ontesting dataPrediction performanceLoading the Auto-MPGdata table Python View Partitioning Simple RegressionTree Learner Simple RegressionTree Predictor Numeric Scorer Table Reader Loadin 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 on their HP(horsepower). This example uses the Auto MPG Data Set from the UCI Machine LearningRepository (https://archive.ics.uci.edu/ml/datasets/Auto+MPG). Fitting the trained model Examining the model-Numeric scorer to calculatevarious goodness-of-fit metrics-Scatter plot of observed (testingdata) vs the model Plotting data and predictedTrain- test80% - 20%Regression treeMPG vs HPPrediction ontesting dataPrediction performanceLoading the Auto-MPGdata table Python View Partitioning Simple RegressionTree Learner Simple RegressionTree Predictor Numeric Scorer Table Reader

Nodes

Extensions

Links