From the course: Supervised Learning Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating a linear regression model - Python Tutorial
From the course: Supervised Learning Essential Training
Creating a linear regression model
- [Tutor] So moving forward with our model, let's have a look at this student performance dataset from schools in Portugal. The data includes information about the student grades, demographics, and social and school related features. It was collected using school reports and questionnaires. The data includes the performance of students in two subjects, mathematics and Portuguese language. Well, this information will attempt to predict the student's final grade based off of their independent variables. First, we're going to want to load in our necessary libraries. After this, we're going to both go through the process to load in our student data, as well as create our model here. As you saw in the last video, we have to create a regression model first before we can test the assumptions of the data underlying it. Let's go ahead and recreate this model and then we can dig into the evaluation metrics. What we're…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Defining logistic and linear regression2m 51s
-
(Locked)
Steps to prepare data for modeling4m 31s
-
(Locked)
Checking your dataset for assumptions7m 18s
-
(Locked)
Creating a linear regression model2m 51s
-
(Locked)
Creating a logistic regression model4m 28s
-
(Locked)
Evaluating regression model predictions2m 40s
-
-
-
-
-