From the course: Machine Learning with Logistic Regression in Excel, R, and Power BI
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Visualizing logistic regression
From the course: Machine Learning with Logistic Regression in Excel, R, and Power BI
Visualizing logistic regression
- [Instructor] Once we predict our probability outcomes for logistic progression model, I find it's immensely helpful to visualize them as graphs as part of the process to get more inside into what the model output tells us. We can construct charts in Excel, and we can also construct them in R. There are thousands of libraries in R and many of them support graphic capabilities, but there are actually built-in graphic commands or functions, we can leverage directly in R without having to load or import any other packages. One example of this is the plot function. Let's first create our scatter plots for the points scored, versus the predicted and actual outcomes in Excel. We can select these three columns, you may hold down the Control key, select our, predicted column, we then insert a scatter plot on the same page. Let's make this a bit smaller, move it over, and I've renamed it. Actuals versus, predicted. You…
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
-
-
-
-
Calculating linear regression3m 38s
-
(Locked)
Working with the logit model4m 42s
-
(Locked)
Calculating log likelihood5m 8s
-
(Locked)
Constructing MLE10m 30s
-
(Locked)
Solving MLE7m 53s
-
(Locked)
Predicting outcomes3m 52s
-
(Locked)
Visualizing logistic regression5m 46s
-
(Locked)
Challenge: Calculating logistic regression50s
-
(Locked)
Solution: Calculating logistic regression3m 16s
-
-
-
-
-