
Welcome to Data Science for Professionals! This course revolves around a single, very large problem: A company is worried about employee attrition (losing employees). The company has collected data on its employees and would like to know which factors are most important in determining whether someone stays or leaves the company. They would also like a predictive model that will allow them to predict which high-value employees are likely to leave in the future. We will learn R programming to solve this problem. By the end of this course, you should be comfortable using R in a way that's practical to your work or study.
Don't forget to download the materials in this lecture!
Explore the basics of the R language, including data objects (vectors, matrices, data frames, lists), types (numbers, text, booleans, dates, factors), and installing R and RStudio for data work.
Install the R environment and the R studio IDE, download CRAN base binaries, and verify with a hello world in the console.
Install the RStudio desktop open source version and set up a new R project to store code. Create a new R script, save it, and customize the appearance before coding.
Master the fundamentals of R data objects, starting with vectors and learning to create, combine, and subset them to store and manipulate information.
Learn to navigate R help pages and run examples by using double and single question marks, quotes for special characters, and the examples function from base and stats packages.
Learn to create and combine vectors, nest functions, and inspect objects with structure; generate sequences with sequence and rep, and draw random samples with rnorm and sample.
Explore vectorized operations in R, summing and comparing vectors, handling unequal lengths and Na values. Learn to subset vectors using indices, boolean masks, and negative indexing to derive targeted observations.
Explore vectors in data science by mastering boolean indexing, filtering with logical conditions, and set functions like union, intersect, and setdiff, using is element and all and any.
Load and explore data in R, plot mpg vs horsepower, fit linear models with lm, and create interactive visuals with ggplot2 and plotly.
Tie together concepts learned so far by tackling the risk dice game as a big integrated exercise. Apply r to model attacker and defender dice rules and compute battle odds.
Learn to estimate battle odds in risk by simulating dice rolls, computing attacker and defender losses, and solving with Monte Carlo simulations and modular functions.
Discover tidy data principles by using tidyverse tools like tidier, dplyr, and ggplot2 to tidy HR data, import datasets, and prepare one observation per row with one variable per column.
This lecture introduces dplyr for data manipulation, showing how to use group_by and mutate with the pipe to clean and transform data frames and tibbles.
Learn to clean and summarize data with dplyr, computing attrition rates by gender and department, age groups, distance from home mean and standard deviation, then export for graphs using ggplot2.
Explore ggplot2's layered grammar of graphics to map aesthetics, build box and density plots of hourly wage rates by attrition and department, and compare distributions.
Analyze factors like overtime and stock options driving attrition, visualize proportions with ggplot2, and compare tree and random forest models to predict who will leave.
Learn how R Markdown and Markdown workflows create reproducible, transparent reports in formats such as HTML and Word, while using Git version control to enable collaboration and efficient project management.
What is it?
Data Science for Professionals is simply the best way to gain a in-depth and practical skill set in data science. Through a combination of theory and hands-on practice, course participants will gain a solid grasp of how to manage, manipulate, and visualize data in R - the world's most popular data science language.
Who should take this course?
This course is for professionals who are tired of using spreadsheets for analysis and have a serious interest in learning how to use code to improve the quality and efficiency of their work. At the end of this course, participants will have a developed a solid foundation of the fundamentals of the R language. Participants will have also gained a perspective on the modern data science landscape and how they can use R not only to better analyze data, but also to better manage projects, create interactive presentations, and collaborate with other teams. Whether it's spreadsheets, text documents, or slides, anyone who analyzes, reports, or presents data will benefit from a knowledge of data science programming.
Who should NOT take this course?
While this course covers examples of machine learning in later lectures, this is not a machine learning or a statistics-focused course. The course does go through examples of how to use code to deploy and assess different types of models, including machine learning algorithms, but it does so from a coding perspective and not a statistics perspective. The reason is that the math behind most machine learning algorithms merits a course entirely on its own. There are many courses out there that make dubious claims of easy mastery of machine learning and deep learning algorithms - this is not one of those courses.
A Different kind of data science course
This course is different from most other courses in several ways:
We use very large, real-world examples to guide our learning process. This allows us to tie-together the various aspects of data science in a more intuitive, easy-to-retain manner.
We encounter and deal-with various challenges and bugs that arise from imperfect data. Most courses use ideal datasets in their examples, but these are not common in the real-world, and solving data-related issues is usually the most difficult and time-consuming part of data science.
We are focused on your long-term success. Our downloadable course code is filled with notes and guidance aimed at making the transition from learning-to-applying as smooth as possible.