VOOZH about

URL: https://www.coursera.org/learn/packt-machine-learning-with-r

⇱ Machine Learning with R | Coursera


Machine Learning with R

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Machine Learning with R

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Implement machine learning models from data preparation to deployment

  • Apply classification and regression techniques to solve real-world problems

  • Evaluate and improve model performance using advanced methods

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

March 2026

Assessments

15 assignments

Taught in English

There are 15 modules in this course

Machine Learning with R provides a thorough introduction to machine learning techniques using the R programming language, focusing on practical applications. You'll gain the skills necessary for preparing data, evaluating models, and applying advanced methods such as ensemble learning and deep learning. This course bridges the gap between theory and real-world applications, ensuring you not only understand the concepts but also know how to implement them in real scenarios. By working with tools like Spark and Hadoop, you will gain experience with big data and develop a comprehensive understanding of the machine learning process.

This course stands out by offering a hands-on, interactive approach to mastering machine learning, making it suitable for learners who want to dive into the field. Whether you are just starting out or looking to refine your skills, the course provides a structured learning path to achieve practical, measurable outcomes. By the end of this course, you will be confident in building and deploying machine learning models using R. Ideal for those starting out in data science, this course requires basic knowledge of statistics and programming but does not require prior R experience. It is a perfect fit for learners aiming to enhance their machine learning skills. Based on the book, Machine Learning with R, by Brett Lantz.

In this section, we introduce the foundations of machine learning, exploring its origins, core concepts, typical applications, ethical considerations, and practical steps for matching data types to ML algorithms using R.

What's included

2 videos11 readings1 assignment

2 videosβ€’Total 2 minutes
  • Introduction - Overview Videoβ€’1 minute
  • Introducing Machine Learning - Overview Videoβ€’1 minute
11 readingsβ€’Total 110 minutes
  • Introductionβ€’10 minutes
  • Uses and Abuses of Machine Learningβ€’10 minutes
  • The Limits of Machine Learningβ€’10 minutes
  • Noteβ€’10 minutes
  • How Machines Learnβ€’10 minutes
  • Abstractionβ€’10 minutes
  • Generalizationβ€’10 minutes
  • Evaluationβ€’10 minutes
  • Types of Machine Learning Algorithmsβ€’10 minutes
  • Matching Input Data to Algorithmsβ€’10 minutes
  • Why R and Why R Nowβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Foundations of Machine Learningβ€’10 minutes

In this section, we manage data using R structures, analyze datasets statistically, and visualize numeric and categorical features for comprehensive data exploration and preparation.

What's included

1 video13 readings1 assignment

1 videoβ€’Total 1 minute
  • Managing and Understanding Data - Overview Videoβ€’1 minute
13 readingsβ€’Total 130 minutes
  • Introductionβ€’10 minutes
  • Factorsβ€’10 minutes
  • Listsβ€’10 minutes
  • Data Framesβ€’10 minutes
  • Matrices and Arraysβ€’10 minutes
  • Importing and Saving Datasets from CSV Filesβ€’10 minutes
  • Exploring and Understanding Dataβ€’10 minutes
  • Measuring the Central Tendency Mean and Medianβ€’10 minutes
  • Measuring Spread Quartiles and the Five-Number Summaryβ€’10 minutes
  • Understanding Numeric Data Uniform and Normal Distributionsβ€’10 minutes
  • Exploring Categorical Featuresβ€’10 minutes
  • Visualizing Relationships Scatterplotsβ€’10 minutes
  • Examining Relationships Two-Way Cross-Tabulationsβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Data Analysis Fundamentalsβ€’10 minutes

In this section, we explore lazy learning classification using the k-NN algorithm, measure data similarity with distance metrics, and prepare datasets by normalizing and splitting data for accurate nearest neighbor classification.

What's included

1 video7 readings1 assignment

1 videoβ€’Total 1 minute
  • Lazy Learning Classification Using Nearest Neighbors - Overview Videoβ€’1 minute
7 readingsβ€’Total 70 minutes
  • Introductionβ€’10 minutes
  • Measuring Similarity with Distanceβ€’10 minutes
  • Preparing Data for Use with k-NNβ€’10 minutes
  • Why Is the k-NN Algorithm Lazy?β€’10 minutes
  • Exploring and Preparing the Dataβ€’10 minutes
  • Data Preparation Creating Training and Test Datasetsβ€’10 minutes
  • Evaluating Model Performanceβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Exploring Lazy Learning and Its Core Principlesβ€’10 minutes

In this section, we explore probabilistic text classification using the Naive Bayes algorithm, covering the fundamentals of probability, conditional probability with Bayes' theorem, and practical SMS spam detection in R.

What's included

1 video11 readings1 assignment

1 videoβ€’Total 1 minute
  • Probabilistic Learning Classification Using Naive Bayes - Overview Videoβ€’1 minute
11 readingsβ€’Total 110 minutes
  • Introductionβ€’10 minutes
  • Understanding Joint Probabilityβ€’10 minutes
  • Computing Conditional Probability with Bayes' Theoremβ€’10 minutes
  • Strengths Weaknessesβ€’10 minutes
  • The Laplace Estimatorβ€’10 minutes
  • Example Filtering Mobile Phone Spam With the Naive Bayes Algorithmβ€’10 minutes
  • Exploring and Preparing the Dataβ€’10 minutes
  • Data Preparation: Splitting Text Documents Into Wordsβ€’10 minutes
  • Visualizing Text Data Word Cloudsβ€’10 minutes
  • Data Preparation Creating Indicator Features for Frequent Wordsβ€’10 minutes
  • Evaluating Model Performanceβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Probabilistic Learning Fundamentalsβ€’10 minutes

In this section, we learn how decision trees and rule learners such as C5.0, 1R, and RIPPER divide data for classification, interpret their outputs, and evaluate performance in practical scenarios like loan risk assessment and detecting toxicity.

What's included

1 video10 readings1 assignment

1 videoβ€’Total 1 minute
  • Divide and Conquer Classification Using Decision Trees and Rules - Overview Videoβ€’1 minute
10 readingsβ€’Total 100 minutes
  • The C5.0 Decision Tree Algorithmβ€’10 minutes
  • Pruning the Decision Treeβ€’10 minutes
  • Data Preparation Creating Random Training and Test Datasetsβ€’10 minutes
  • Training a Model on the Dataβ€’10 minutes
  • Evaluating Model Performanceβ€’10 minutes
  • Making Some Mistakes Cost More Than Othersβ€’10 minutes
  • Separate and Conquerβ€’10 minutes
  • The 1R Algorithmβ€’10 minutes
  • Rules from Decision Treesβ€’10 minutes
  • Collecting Dataβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Machine Learning Fundamentals and Decision Tree Principlesβ€’10 minutes

In this section, we learn to implement regression models-including linear regression and tree-based methods-to estimate numeric outcomes, analyze feature correlations, and apply practical techniques for effective data-driven forecasting.

What's included

1 video19 readings1 assignment

1 videoβ€’Total 1 minute
  • Forecasting Numeric Data Regression Methods - Overview Videoβ€’1 minute
19 readingsβ€’Total 181 minutes
  • Introductionβ€’10 minutes
  • Simple Linear Regressionβ€’10 minutes
  • Ordinary Least Squares Estimationβ€’10 minutes
  • Correlationsβ€’1 minute
  • Generalized Linear Models and Logistic Regressionβ€’10 minutes
  • Tableβ€’10 minutes
  • Example Predicting Auto Insurance Claims Costs Using Linear Regressionβ€’10 minutes
  • Exploring and Preparing the Dataβ€’10 minutes
  • Visualizing Relationships Between Features with the Scatterplot Matrixβ€’10 minutes
  • Training a Model on the Dataβ€’10 minutes
  • Evaluating Model Performanceβ€’10 minutes
  • Model Specification Adding Interaction Effectsβ€’10 minutes
  • Making Predictions with a Regression Modelβ€’10 minutes
  • Going Further Predicting Insurance Policyholder Churn With Logistic Regressionβ€’10 minutes
  • Understanding Regression Trees and Model Treesβ€’10 minutes
  • Estimating the Quality of Wines With Regression Trees and Model Treesβ€’10 minutes
  • Exploring and Preparing the Dataβ€’10 minutes
  • Visualizing Decision Treesβ€’10 minutes
  • Improving Model Performanceβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Forecasting and Model Evaluation Fundamentalsβ€’10 minutes

In this section, we examine how neural networks and support vector machines (SVMs) model complex data relationships, emphasizing model training, evaluation, and hyperparameter tuning for practical machine learning applications.

What's included

1 video14 readings1 assignment

1 videoβ€’Total 1 minute
  • Black-Box Methods: Neural Networks and Support Vector Machines - Overview Videoβ€’1 minute
14 readingsβ€’Total 140 minutes
  • Introductionβ€’10 minutes
  • From Biological to Artificial Neuronsβ€’10 minutes
  • Network Topologyβ€’10 minutes
  • The Direction of Information Travelβ€’10 minutes
  • The Number of Nodes in Each Layerβ€’10 minutes
  • Forward and Backward Phasesβ€’10 minutes
  • Training a Model on the Dataβ€’10 minutes
  • Improving Model Performanceβ€’10 minutes
  • Understanding Support Vector Machinesβ€’10 minutes
  • The Case of Linearly Separable Dataβ€’10 minutes
  • Using Kernels for Nonlinear Spacesβ€’10 minutes
  • Example Performing OCR with SVMsβ€’10 minutes
  • Training a Model on the Dataβ€’10 minutes
  • Improving Model Performanceβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Exploring Machine Learning Techniques and Challengesβ€’10 minutes

In this section, we apply association rule mining to transactional data, utilize metrics like support and confidence, and implement Apriori and Eclat algorithms to uncover and analyze purchasing patterns for data-driven marketing and inventory strategies.

What's included

1 video9 readings1 assignment

1 videoβ€’Total 1 minute
  • Finding Patterns: Market Basket Analysis Using Association Rules - Overview Videoβ€’1 minute
9 readingsβ€’Total 90 minutes
  • Introductionβ€’10 minutes
  • The Apriori Algorithm for Association Rule Learningβ€’10 minutes
  • Measuring Rule Interest Support and Confidenceβ€’10 minutes
  • Example: Identifying Frequently Purchased Groceries With Association Rulesβ€’10 minutes
  • Visualizing Item Support Item Frequency Plotsβ€’10 minutes
  • Training a Model on the Dataβ€’10 minutes
  • Evaluating Model Performanceβ€’10 minutes
  • Improving Model Performanceβ€’10 minutes
  • Saving Association Rules to a File or DataFrameβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Exploring Patterns in Dataβ€’10 minutes

In this section, we introduce k-means clustering to group unlabeled data, covering concepts of clustering, data preparation, model evaluation, and refinement to uncover actionable patterns in datasets.

What's included

1 video9 readings1 assignment

1 videoβ€’Total 1 minute
  • Finding Groups of Data Clustering with k-means - Overview Videoβ€’1 minute
9 readingsβ€’Total 90 minutes
  • Introductionβ€’10 minutes
  • Clusters of Clustering Algorithmsβ€’10 minutes
  • The K-Means Clustering Algorithmβ€’10 minutes
  • Choosing the Appropriate Number of Clustersβ€’10 minutes
  • Collecting Dataβ€’10 minutes
  • Data Preparation Dummy Coding Missing Valuesβ€’10 minutes
  • Training a Model on the Dataβ€’10 minutes
  • Evaluating Model Performanceβ€’10 minutes
  • Improving Model Performanceβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Exploring Data Grouping and Standardizationβ€’10 minutes

In this section, we evaluate machine learning models using classification metrics, analyze confusion matrices, and apply validation methods to estimate how the models may perform on future data.

What's included

1 video11 readings1 assignment

1 videoβ€’Total 1 minute
  • Evaluating Model Performance - Overview Videoβ€’1 minute
11 readingsβ€’Total 110 minutes
  • Introductionβ€’10 minutes
  • A Closer Look at Confusion Matricesβ€’10 minutes
  • Beyond Accuracy Other Measures of Performanceβ€’10 minutes
  • The Matthews Correlation Coefficientβ€’10 minutes
  • Sensitivity and Specificityβ€’10 minutes
  • The F-Measureβ€’10 minutes
  • Comparing ROC Curvesβ€’10 minutes
  • The Area Under the ROC Curveβ€’10 minutes
  • Estimating Future Performanceβ€’10 minutes
  • Cross-Validationβ€’10 minutes
  • Bootstrap Samplingβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Evaluating Model Performance Fundamentalsβ€’10 minutes

In this section, we examine the critical factors for successful machine learning, focusing on effective data exploration, project design strategies, and understanding real-world impacts to bridge theory and practical application.

What's included

1 video11 readings1 assignment

1 videoβ€’Total 1 minute
  • Being Successful with Machine Learning - Overview Videoβ€’1 minute
11 readingsβ€’Total 110 minutes
  • Introductionβ€’10 minutes
  • What Makes a Successful Machine Learning Modelβ€’10 minutes
  • Avoiding Obvious Predictionsβ€’10 minutes
  • Conducting Fair Evaluationsβ€’10 minutes
  • Considering Real-World Impactsβ€’10 minutes
  • Building Trust in the Modelβ€’10 minutes
  • Putting the Science in Data Scienceβ€’10 minutes
  • Using R Notebooks and R Markdownβ€’10 minutes
  • Performing Advanced Data Explorationβ€’10 minutes
  • Encountering Outliers A Real-World Pitfallβ€’10 minutes
  • Example Using ggplot2 for Visual Data Explorationβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Mastering Machine Learning Fundamentalsβ€’10 minutes

In this section, we tackle complex data preparation tasks in R, focusing on combining data sources and feature engineering techniques to support machine learning objectives.

What's included

1 video12 readings1 assignment

1 videoβ€’Total 1 minute
  • Advanced Data Preparation - Overview Videoβ€’1 minute
12 readingsβ€’Total 120 minutes
  • Introductionβ€’10 minutes
  • The Impact of Big Data and Deep Learningβ€’10 minutes
  • Feature Engineering in Practiceβ€’10 minutes
  • Hint 2 Find Insights Hidden in Textβ€’10 minutes
  • Transform Numeric Rangesβ€’10 minutes
  • Utilize Related Rowsβ€’10 minutes
  • Append External Dataβ€’10 minutes
  • Exploring R's Tidyverseβ€’10 minutes
  • Reading Rectangular Files Faster with readr and readxlβ€’10 minutes
  • Preparing and Piping Data with dplyrβ€’10 minutes
  • Transforming Text with stringrβ€’10 minutes
  • Cleaning Dates with lubridateβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Mastering Data Preparation in Machine Learningβ€’10 minutes

In this section, we address challenges in machine learning data by applying feature selection and extraction, handling missing or sparse values with imputation, and using techniques to rebalance imbalanced datasets for improved model performance.

What's included

1 video17 readings1 assignment

1 videoβ€’Total 1 minute
  • Challenging Data: Too Much, Too Little, Too Complex - Overview Videoβ€’1 minute
17 readingsβ€’Total 170 minutes
  • Introductionβ€’10 minutes
  • Feature Selectionβ€’10 minutes
  • Wrapper Methods and Embedded Methodsβ€’10 minutes
  • Example Using Stepwise Regression for Feature Selectionβ€’10 minutes
  • Example Using Boruta for Feature Selectionβ€’10 minutes
  • Understanding Principal Component Analysisβ€’10 minutes
  • Example Using PCA to Reduce Highly Dimensional Social Media Dataβ€’10 minutes
  • Making Use of Sparse Dataβ€’10 minutes
  • Example Remapping Sparse Categorical Dataβ€’10 minutes
  • Example Binning Sparse Numeric Dataβ€’10 minutes
  • Handling Missing Dataβ€’10 minutes
  • Performing Missing Value Imputationβ€’10 minutes
  • Missing Value Patternsβ€’10 minutes
  • The Problem of Imbalanced Dataβ€’10 minutes
  • Generating a Synthetic Balanced Dataset with SMOTEβ€’10 minutes
  • Example Applying the SMOTE Algorithm in Rβ€’10 minutes
  • Considering Whether Balanced Is Always Betterβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Navigating Data Complexity in Machine Learningβ€’10 minutes

In this section, we learn to enhance machine learning models by systematically tuning hyperparameters and applying ensemble methods such as bagging, boosting, and stacking for improved predictive performance.

What's included

1 video13 readings1 assignment

1 videoβ€’Total 1 minute
  • Building Better Learners - Overview Videoβ€’1 minute
13 readingsβ€’Total 130 minutes
  • Introductionβ€’10 minutes
  • Determining the Scope of Hyperparameter Tuningβ€’10 minutes
  • Example Using caret for Automated Tuningβ€’10 minutes
  • Creating a Simple Tuned Modelβ€’10 minutes
  • Customizing the Tuning Processβ€’10 minutes
  • Improving Model Performance with Ensemblesβ€’10 minutes
  • Popular Ensemble-Based Algorithmsβ€’10 minutes
  • Boostingβ€’10 minutes
  • Random Forestsβ€’10 minutes
  • Gradient Boostingβ€’10 minutes
  • Extreme Gradient Boosting with XGBoostβ€’10 minutes
  • Why Are Tree-Based Ensembles So Popular?β€’10 minutes
  • Practical Methods for Blending and Stacking in Rβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Mastering Ensemble Methods and Model Optimizationβ€’10 minutes

In this section, we examine how to apply deep learning models in R using frameworks like Keras and TensorFlow, process large, unstructured data formats, and implement parallel computing for scalable machine learning solutions.

What's included

1 video16 readings1 assignment

1 videoβ€’Total 1 minute
  • Making Use of Big Data - Overview Videoβ€’1 minute
16 readingsβ€’Total 160 minutes
  • Introductionβ€’10 minutes
  • Choosing Appropriate Tasks for Deep Learningβ€’10 minutes
  • The TensorFlow and Keras Deep Learning Frameworksβ€’10 minutes
  • Understanding Convolutional Neural Networksβ€’10 minutes
  • Transfer Learning and Fine Tuningβ€’10 minutes
  • Unsupervised Learning and Big Dataβ€’10 minutes
  • Understanding Word Embeddingsβ€’10 minutes
  • Example Using word2vec for Understanding Text in Rβ€’10 minutes
  • Visualizing Highly Dimensional Dataβ€’10 minutes
  • Understanding the t-SNE Algorithmβ€’10 minutes
  • Example Visualizing Data's Natural Clusters With t-SNEβ€’10 minutes
  • Adapting R to Handle Large Datasetsβ€’10 minutes
  • Using a Database Backend for dplyr with dbplyrβ€’10 minutes
  • Enabling Parallel Processing in Rβ€’10 minutes
  • Parallel Computing with MapReduce Concepts via Apache Sparkβ€’10 minutes
  • Learning via Distributed and Scalable Algorithms with H2Oβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Exploring Deep Learning and Data Analysis Methodsβ€’10 minutes

Instructor

Packt
1,926 Coursesβ€’560,010 learners

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,