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
Regression vs. Classification
Learn about the two types of Supervised Learning algorithms. - Article
Linear Regression with scikit-learn: A Step-by-Step Guide Using Python
Discover the fundamentals of linear regression and learn how to build linear regression and multiple regression models using the sklearn library in Python. - Article
Scikit-Learn Tutorial: Python Machine Learning Model Building
Learn how to build powerful machine learning models with scikit-learn in Python. Master essential techniques from installation to implementation with practical examples and comparisons.
Related courses and paths
- Get started with machine learning and learn how to build, implement, and evaluate linear regression models.
- Beginner Friendly.3 hours
- 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 Courses
- With Certificate
- Intermediate.50 hours
- Machine Learning Data Scientists solve problems at scale, make predictions, find patterns, and more! They use Python, SQL, and algorithms.
- Includes 27 Courses
- With Professional Certification
- Beginner Friendly.95 hours
Browse more topics
- Python4,238,405 learners enrolled
- AI2,506,786 learners enrolled
- Data science5,243,355 learners enrolled
- Machine learning791,872 learners enrolled
- Code foundations8,426,728 learners enrolled
- Computer science6,916,670 learners enrolled
- Web development5,652,094 learners enrolled
- For business4,039,168 learners enrolled
- JavaScript3,174,032 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.







