From the course: Data Science Foundations: Data Assessment for Predictive Modeling
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Solution: Producing multivariate visualizations for case study 1
From the course: Data Science Foundations: Data Assessment for Predictive Modeling
Solution: Producing multivariate visualizations for case study 1
(electronic music) - [Instructor] Okay, let's imitate this in the Titanic data set. First you're going to need a command, something like this. Please be cognizant of the fact that your file structure might not be the same on your machine, but I'm reading it in from the originals folder, and I'm going to call the data set simply train. Also, I have handy the code that we used for the census data set. So the most fundamental piece is this piece. And what this is doing is telling it that the two variables are work class and hours, but that we want a box plot. So hours was our scale variable, and our scale variable on the Titanic data set is going to be age, so we can replace that. And rather than work class recoded, we have passenger class. That alone will produce a result. That's an interesting error that I've made. Let's bring it down. Perhaps you already spotted the mistake that I made is I'm still referring to…
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
-
-
-
-
-
-
-
-
-
-
How to utilize an SME's time effectively2m 8s
-
Techniques for working with the top predictors4m 19s
-
Advice for weak predictors6m 4s
-
Tips and tricks when searching for quirks in your data4m 46s
-
Learning when to discard rows2m 5s
-
Introducing ggplot21m 44s
-
Orientating to R's ggplot2 for powerful multivariate data visualizations5m 52s
-
Challenge: Producing multivariate visualizations for case study 11m 12s
-
Solution: Producing multivariate visualizations for case study 12m 31s
-
-
-
-
-
-