Build a Machine Learning Model
Learn to build machine learning models with Python.
Includes Python 3, PyTorch, scikit-learn, matplotlib, pandas, Jupyter Notebook, and more.
Skill level
BeginnerTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary23 hoursProjects
10Prerequisites
2 coursesWe suggest you complete the following courses before you get started with Build a Machine Learning Model:- Learn Python for Data Science
- Linear Algebra
About this skill path
More data is created and collected every day. Machine learning models can find patterns in big data to help us make data-driven decisions. In this skill path, you will learn to build machine learning models using regression, classification, and clustering. Along the way, you will create real-world projects to demonstrate your new skills, from basic models all the way to neural networks.
Skills you'll gain
- Create machine learning models
- Evaluate model performance
- Build supervised and unsupervised models
- Build neural networks in PyTorch
Syllabus
10 units • 17 lessons • 10 projects • 12 quizzes- 1
Introduction to Machine Learning
Welcome to the world of machine learning! You will learn some of the fundamental concepts behind machine learning.
- 2
Supervised Learning: Regression
Use linear regression or multiple linear regression to fit a line to data. Using this line, you can make predictions about future data.
- 3
Regression Cumulative Project
Practice your regression skills on a real-world dataset provided by Yelp!
- 4
Supervised Learning: Introduction to Classification
Learn to classify data using some of the most famous supervised machine learning models.
- 5
Supervised Learning: Advanced Classification
Learn some of the more complicated supervised machine learning models.
- 6
Supervised Machine Learning Cumulative Project
In this cumulative project, use your understanding of a variety of supervised machine learning models to analyze social media data.
- 7
Unsupervised Learning
Learn how unsupervised machine learning models work by implementing the K-Means clustering algorithm.
Certificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Projects in this skill path
- practice Project
Honey Production
Fit a line to data about the honeybee population decline in the United States. - practice Project
Cancer Classifier
Classify tumors as either malignant or benign using K-Nearest Neighbors. - practice Project
Predict Credit Card Fraud
Use Logistic Regression to predict credit card fraud.
Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Skill paths help you level-up
Get a specialized skill
Want to level up at work? Gain a practical, real-world skill that you can use right away to stand out at your job.Get step-by-step guidance
We guide you through exactly where to start and what to learn next to build a new skill.Get there quickly
We’ve hand-picked the content in each Skill Path to fast-track your journey and help you gain a new skill in just a few months.
Ready to learn a new skill?
Get started on Build a Machine Learning Model with a free Codecademy account.StartLooking for something else?
Related resources
- Article
What is Scikit-Learn?
Open-source ML library for Python. Built on NumPy, SciPy, and Matplotlib. - Article
Regression vs. Classification
Learn about the two types of Supervised Learning algorithms. - Article
Supervised vs. Unsupervised
Introduction to the two main classes of algorithms in Machine Learning — Supervised Learning & Unsupervised Learning.
Related courses and paths
- Free course
Machine Learning: Introduction with Regression
Get started with machine learning and learn how to build, implement, and evaluate linear regression models.Beginner Friendly3 hours - Career path
Machine Learning/AI Engineer
Machine Learning/AI Engineers build end-to-end ML applications and power many of the apps we use every day. They work in Python, Git, & ML.Includes 7 CoursesWith CertificateIntermediate50 hours - Career path
Data Scientist: Machine Learning Specialist
Machine Learning Data Scientists solve problems at scale, make predictions, find patterns, and more! They use Python, SQL, and algorithms.Includes 27 CoursesWith Professional CertificationBeginner Friendly90 hours
Browse more topics
- Python3,617,344 learners enrolled
- AI1,939,000 learners enrolled
- Data science4,480,745 learners enrolled
- Machine learning657,922 learners enrolled
- Code foundations7,411,564 learners enrolled
- Computer science5,868,665 learners enrolled
- Web development4,964,245 learners enrolled
- For business3,356,396 learners enrolled
- JavaScript2,863,413 learners enrolled
What's included in skill paths
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.