Icon

Exercise 5 - Linear Regression

Exercise 5: Linear Regression Description: The dataset involves students' performance in secondary education of two Portuguese schools in the Mathematics (mat) subject. Theprediction task aims to predict the student's final average math grade based on the factors of (1) study time and absences (2) G1 and G3grades, and (4) social factors. The model to be evaluated in this prediction task is the Multiple Linear Regression Model. Steps: 1) Read student-mat.csv2) Add Final Average Grade column3) Partition the data into a training set4) Train the multiple linear regression model on the training set to predict the correlation of the selected variables to the final average grade5) Apply the model to the test set6) Evaluate the performance of the multiple linear regression with the Numeric Scorer node. Read Students RecordsTop: Training Set (80%)Bottom: Test Set (20%)Take from TopTrain the Model to Predict the Final GradeApply the Model to the Test SetEvaluate Model PerformanceCalculate Final Average Grade CSV Reader Partitioning Linear RegressionLearner RegressionPredictor Numeric Scorer Math Formula Exercise 5: Linear Regression Description: The dataset involves students' performance in secondary education of two Portuguese schools in the Mathematics (mat) subject. Theprediction task aims to predict the student's final average math grade based on the factors of (1) study time and absences (2) G1 and G3grades, and (4) social factors. The model to be evaluated in this prediction task is the Multiple Linear Regression Model. Steps: 1) Read student-mat.csv2) Add Final Average Grade column3) Partition the data into a training set4) Train the multiple linear regression model on the training set to predict the correlation of the selected variables to the final average grade5) Apply the model to the test set6) Evaluate the performance of the multiple linear regression with the Numeric Scorer node. Read Students RecordsTop: Training Set (80%)Bottom: Test Set (20%)Take from TopTrain the Model to Predict the Final GradeApply the Model to the Test SetEvaluate Model PerformanceCalculate Final Average GradeCSV Reader Partitioning Linear RegressionLearner RegressionPredictor Numeric Scorer Math Formula

Nodes

Extensions

Links