<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/data-science-with-r-course-series-week-4/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.business-science.io/university/2018/10/10/data-science-with-R-course-week-4.html"> business-science.io - Articles</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>This week in the Data Science With R Course Series we’ll cover <a rel="nofollow" href="http://www.business-science.io/university/2018/10/10/data-science-with-R-course-week-4.html#week4" target="_blank">Data Preparation</a>, where we structure the data in preparation for modeling. This week’s modules will teach you:</p>
<ol>
<li>How to create a preprocessing pipeline with the <code>recipes</code> package</li>
<li>How to prepare data for human readability and machine-readable formats</li>
<li>How to perform a <strong>Correlation Analysis</strong></li>
</ol>
<p></p>
<p>Here is a recap of our trajectory and the course overview:</p>
<h2>Recap: Data Science With R Course Series</h2>
<p>You’re in the <a rel="nofollow" href="http://www.business-science.io/university/2018/10/10/data-science-with-R-course-week-4.html#week4" target="_blank">Week 4: Data Preparation</a>. Here’s our game-plan over the 10 articles in this series. We’ll cover how to apply <strong>data science for business with R</strong> following our systematic process.</p>
<ul>
<li><a rel="nofollow" href="https://www.business-science.io/university/2018/09/20/data-science-with-R-week-1.html" target="_blank">Week 1: Getting Started</a></li>
<li><a rel="nofollow" href="https://www.business-science.io/university/2018/09/24/data-science-with-R-course-week-2.html" target="_blank">Week 2: Business Understanding</a></li>
<li><a rel="nofollow" href="https://www.business-science.io/university/2018/10/01/data-science-with-R-course-week-3.html" target="_blank">Week 3: Data Understanding</a></li>
<li><strong>Week 4: Data Preparation</strong> (You’re Here)</li>
<li>Week 5: Predictive Modeling With H2O</li>
<li>Week 6: H2O Model Performance</li>
<li>Week 7: Machine Learning Interpretability With LIME</li>
<li>Week 8: Link Data Science To Business With Expected Value</li>
<li>Week 9: Expected Value Optimization And Sensitivity Analysis</li>
<li>Week 10: Build A Recommendation Algorithm To Improve Decision Making</li>
</ul>
<p>
<img src="https://i0.wp.com/www.business-science.io/assets/2018-10-10-data-science-with-R-4/system_week4.png?w=456" data-recalc-dims="1">
</p>
<p>Week 4: Data Preparation</p>
<p></p>
<p>
<img src="https://i1.wp.com/www.business-science.io/assets/2018-10-10-data-science-with-R-4/week_4_testimonial.png?w=456" data-recalc-dims="1">
</p>
<p>Student Feedback</p>
<hr>
<h2>Week 4: Data Preparation</h2>
<h3>Preprocessing Pipeline</h3>
<p>In data science, the data is used for both analyzing/modeling and communicating insights to people. This module demonstrates how to create a reusable preprocessing structure to prepare data for people (communication) and machines (analyzing/modeling).</p>
<p>
<img src="https://i0.wp.com/www.business-science.io/assets/2018-10-10-data-science-with-R-4/preprocessing_pipeline.png?w=456" data-recalc-dims="1">
</p>
<p></p>
<h3>Data Preparation For People</h3>
<p>The Data Preparation for People module focuses on formatting data so it is easily understood in plots, visualizations, and other data communication methods.</p>
<p>This module will teach you how to merge data, join data, and maintain accurate ordering for categorical data.</p>
<p>
<img src="https://i2.wp.com/www.business-science.io/assets/2018-10-10-data-science-with-R-4/data_preparation_for_people.png?w=456" data-recalc-dims="1">
</p>
<p></p>
<h3>Data Preparation For Machines</h3>
<p>Properly formatting data for machine learning is one of the most important aspects of data science. This step involves understanding your goal, your algorithm, and your data. The Data Preparation for Machines module will teach you how to create a custom histogram function to visually analyze data features.</p>
<p>Through the <a rel="nofollow" href="https://tidymodels.github.io/recipes/" target="_blank"><code>recipes</code> package</a>, this module also teaches important data science topics, such as zero variance features, data transformations, center &amp; scale, and dummy variables.</p>
<p></p>
<p><iframe allowfullscreen src="https://www.youtube.com/embed/uwEBqmhiWyI" width="100%" height="450"></iframe></p>
<p></p>
<h3>Correlation Analysis</h3>
<p>Without good features, you can’t make good predictions. The most effective way to build a good model is to build good features that correlate to the problem. Correlation analysis is a way of reviewing features in the data to let us know if we are on the right track before modeling.</p>
<p>This module will teach you how to group similar features, calculate feature correlation, and analyze feature correlation.</p>
<blockquote>
<p>Correlation analysis is an important step because it saves time by avoiding modeling features with low correlation.</p>
</blockquote>
<p>
<img src="https://i1.wp.com/www.business-science.io/assets/2018-10-10-data-science-with-R-4/correlation_analysis.png?w=456" data-recalc-dims="1">
</p>
<p></p>
<h3>Challenge #3</h3>
<p>Course challenges are short exercises that give you the opportunity to apply the skills you’re learning. This week’s modules teach you how to perform correlation analysis on some of the features.</p>
<p>Challenge #3 provides an opportunity for you to <strong>apply your correlation analysis skills</strong> to a group of features.</p>
<p>
<img src="https://i1.wp.com/www.business-science.io/assets/2018-10-10-data-science-with-R-4/challenge_3.png?w=456" data-recalc-dims="1">
</p>
<p></p>
<p></p>
<hr>
<h2>You Need To Learn R For Business</h2>
<p><a rel="nofollow" href="https://university.business-science.io/p/hr201-using-machine-learning-h2o-lime-to-predict-employee-turnover/?product_id=635023&coupon_code=DS4B_15" target="_blank"><br>
<img alt="Data Science For Business With R Course" src="https://i2.wp.com/www.business-science.io/img/course_logo_full_DS4B_201_R.png?w=456" data-recalc-dims="1"><br>
</a></p>
<p><strong>To be efficient as a data scientist, you need to learn R.</strong> Take the course that has <strong>cut data science projects in half</strong> (see <a rel="nofollow" href="https://youtu.be/yw5CtGTzIw0" target="_blank">this testimonial</a> from a leading data science consultant) and has <strong>progressed data scientists more than anything they have tried before</strong>. Over 10-weeks you learn what it has taken data scientists 10-years to learn:</p>
<ul>
<li>Our systematic data science for business framework</li>
<li>R and H2O for Machine Learning</li>
<li>How to produce Return-On-Investment from data science</li>
<li>And much more.</li>
</ul>
<p>
<a rel="nofollow" href="https://university.business-science.io/p/hr201-using-machine-learning-h2o-lime-to-predict-employee-turnover/?product_id=635023&coupon_code=DS4B_15" target="_blank"><strong>Start Learning Today!</strong></a>
</p>
<p></p>
<hr>
<p></p>
<h2>Next Up</h2>
<p>The next article in the <strong><em>Data Science With R Series</em></strong> covers <strong>Automated Machine Learning with <a rel="nofollow" href="https://www.h2o.ai/products/h2o/" target="_blank">H2O</a></strong>.</p>
<p>Week 5 is an exciting part of the course where you learn how to create machine learning models with the R package, H2O. The culmination of the previous weeks have been preparation for machine learning modeling.</p>
<p><strong>Get ready for a FUN week!</strong> During week 5, you will learn:</p>
<ol>
<li>Modeling Setup</li>
<li>H2O Automated Machine Learning</li>
<li>Advanced concepts, such as cross validation and grid search</li>
<li>Visualizing the best performing models</li>
</ol>
<p>
<img src="https://i1.wp.com/www.business-science.io/assets/2018-10-10-data-science-with-R-4/system_week5.png?w=456" data-recalc-dims="1">
</p>
<p>Week 5: Modeling &amp; Performance</p>
<p></p>
<hr>
<h2>New Course Coming Soon: Build A Shiny Web App!</h2>
<p>You’re experiencing the magic of creating a high performance employee turnover risk prediction algorithm in DS4B 201-R. Why not put it to good use in an <strong><em>Interactive Web Dashboard</em></strong>?</p>
<p>In our new course, <strong><em>Build A Shiny Web App (DS4B 301-R)</em></strong>, you’ll learn how to integrate the H2O model, LIME results, and recommendation algorithm building in the 201 course into an ML-Powered R + Shiny Web App!</p>
<p></p>
<p>Shiny Apps Course Coming in October 2018!!! Sign up for <a rel="nofollow" href="https://university.business-science.io/" target="_blank">Business Science University Now!</a></p>
<p></p>
<p><a rel="nofollow" href="https://university.business-science.io/" target="_blank"><br>
<img alt="DS4B 301-R Shiny Application: Employee Prediction" src="https://i0.wp.com/www.business-science.io/img/hr_301_app.png?w=456" data-recalc-dims="1"><br>
</a></p>
<p>Building an R + Shiny Web App, DS4B 301-R</p>
<p></p>
<p><a rel="nofollow" href="https://university.business-science.io/" target="_blank">Get Started Today!</a></p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.business-science.io/university/2018/10/10/data-science-with-R-course-week-4.html"> business-science.io - Articles</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/EgvbEvWkm-E" height="1"></a></div>