Harvard University · on edX

Data Science: Building Machine Learning Models

4.4(131) on edX·725K enrolled
Beginner 24 hours English University CertificateFREE
SkillsMachine learningRModel buildingCross-validationStatistical learningData science

Is this course right for you?

Our take
Worth it if you want a statistically grounded introduction to machine learning and you are comfortable in R. It is part of HarvardX's data-science series and free to audit.

Good for: learners who want a statistically grounded introduction to machine learning in R.

Skip if: you prefer Python, or you want a fast, applied, code-first course.

Rafael Irizarry teaches it first-principles: you build a working movie-recommendation system while learning why cross-validation, regularization and PCA matter, rather than just calling a library. That statistical framing is the value, and a useful contrast with code-first Python courses.

It is introductory but assumes the R and data-analysis grounding from earlier courses in the series, so it is not a standalone first course, and if you prefer Python or want a fast applied tutorial it is the wrong fit. It is free to audit, with an optional paid HarvardX certificate. Harvard maintains the series (as of 2026).

Comparison · LBS

Compare alternatives for Data Science: Building Machine Learning Models

Same topic, different options. We surface the trade-offs others hide so you can pick the course that actually fits your time, budget, and goals.
edX4.4(131)
Data Science: Building Machine Learning Models
Price
Free
Audit free · HarvardX certificate optional (paid)
Duration
24 hrs
Level
Beginner
Certificate
University Certificate
DataCamp4.7(14,800)
Data Scientist with Python Career Track
Price
Paid
Subscription, billed monthly
Duration
88 hrs
Level
Beginner
Certificate
Specialization
Google4.7(8,500)
Machine Learning Crash Course
Price
Free
Completely free, self-paced
Duration
15 hrs
Level
Beginner
Certificate
Coursera4.5(20,000)
Data Science Math Skills
Price
Paid
Free to audit, paid certificate
Duration
20 hrs
Level
Beginner
Certificate
University Certificate
Prices & availability can change — confirm on the provider's site. We're not affiliated with any single provider.

About this course

Data Science: Building Machine Learning Models is part of HarvardX's renowned Professional Certificate in Data Science. Over about eight self-paced weeks you learn the fundamentals of machine learning — popular algorithms, training and test data, cross-validation to avoid overtraining, regularization, and principal component analysis — by building a working movie recommendation system from scratch.

Instructor

RI
Rafael Irizarry
edX instructor

Taught by Rafael Irizarry, Professor of Biostatistics at Harvard University and author of the widely used HarvardX Data Science series and its companion textbook.

Frequently asked questions

Effectively, yes. It's the eighth of nine courses in HarvardX's Data Science series and assumes you're already comfortable in R — with packages like caret, ggplot2 and dplyr — and have the statistics from the earlier courses. Starting here cold is tough; do the earlier ones, or come in with equivalent R and stats.

Machine-learning algorithms, cross-validation, the bias-variance trade-off, regularization and principal component analysis, pulled together by building a movie recommendation system. It's a statistically grounded treatment that explains why the methods work, rather than a tour of library functions to copy.

Be realistic: Python is the industry default for machine learning, so if a job is the goal you'll likely need it too. R stays strong in statistics, research and academia, and — importantly — the ML concepts you learn here carry across languages. Take it for genuine understanding, and add Python separately for the job market.

It leans toward intuition and theory, which is its strength if you want to understand machine learning properly, and a drawback if you want fast, applied, copy-and-run code. Cross-validation, bias-variance and model tuning can feel demanding without a statistics background, so it rewards patience.
Free
to audit
Enroll now