Icon

08 Regression Model

08 Regression Model
Exercise: Linear Regression and Numeric Scoring Metrics1) Read the adult_joined.table file by executing the Table Reader and Missing Value nodes2) Partition the data into a training set (75 %) and test set (25 %). Draw randomly.3) Train a linear regression model on the training set to predict the weekly working hours. Use all other columns but the "ID"column for the prediction.4) Apply the model to the test set5) Evaluate the performance of the linear regression model with the Numeric Scorer node. Which proportion of the varianceof the weekly working hours does the model explain? 19.1% of the variance of the weekly working hours is explained by themodel.How many hours is the mean absolute error of the model? 7.62 hours Read data adult_joined.tablePartition the data into a training set (75 %) and test set (25 %). Drawn randomly.Train the model to predict the weekly working hoursApply the model to the test setEvaluate the performance of the linear regression model Missing Value Table Reader Partitioning Linear RegressionLearner RegressionPredictor Numeric Scorer Exercise: Linear Regression and Numeric Scoring Metrics1) Read the adult_joined.table file by executing the Table Reader and Missing Value nodes2) Partition the data into a training set (75 %) and test set (25 %). Draw randomly.3) Train a linear regression model on the training set to predict the weekly working hours. Use all other columns but the "ID"column for the prediction.4) Apply the model to the test set5) Evaluate the performance of the linear regression model with the Numeric Scorer node. Which proportion of the varianceof the weekly working hours does the model explain? 19.1% of the variance of the weekly working hours is explained by themodel.How many hours is the mean absolute error of the model? 7.62 hours Read data adult_joined.tablePartition the data into a training set (75 %) and test set (25 %). Drawn randomly.Train the model to predict the weekly working hoursApply the model to the test setEvaluate the performance of the linear regression modelMissing Value Table Reader Partitioning Linear RegressionLearner RegressionPredictor Numeric Scorer

Nodes

Extensions

Links