Deploying Machine Learning Models with Flask for Beginners
Create APIs for machine learning with Flask and deploy your application to the web
Course Description
Flask is a web application framework used to develop web applications. Getting started with Flask is easy, and its power lies in its ability to scale up to complex applications. In this course, you’ll learn the most effective ways to use Flask in order to create your own web application.
You’ll begin with an introduction to Flask and quickly dive into defining and training your model. You’ll perform various actions on this model to train it and ensure that it is of the best quality for your application. You’ll also create and test API endpoints so you can predict the model’s behavior over time.
By the end of this course, you’ll have the confidence to deploy this application to the web and learn how to fix any errors that may arise during this process.
Goals
What will you learn in this course:
- Define and train your model
- Test the model availability and make predictions
- Create a Flask endpoint and perform quality checks
- Use image classification in your Flask application
- Predict images on the Flask application
- Deploy your machine learning model to the web
Prerequisites
What are the prerequisites for this course?
- A basic understanding of Python is preferred here as this will help you grasp the Flask concepts easier. You also need to have a functioning knowledge of machine learning and neural networks.

Curriculum
Check out the detailed breakdown of what’s inside the course
Deploying Machine Learning Models
15 Lectures
-
Hello and Welcome to the Course 01:32 01:32
-
Introduction to Flask 08:12 08:12
-
Defining and Training the Model 23:55 23:55
-
Evaluating and Saving the Trained Model 05:54 05:54
-
Testing the Model Availability and Making a First Prediction 07:01 07:01
-
Defining the Boundaries of Your Input Data 03:00 03:00
-
Creating Our Flask Application 05:57 05:57
-
Creating the Flask Endpoint and Ensuring Data Quality Checks 17:15 17:15
-
Testing Our API Endpoint 14:38 14:38
-
Introduction to Image Classification 10:06 10:06
-
Flask Application - an Endpoint for Your Image Classification API 19:11 19:11
-
The HTML Template Explained 06:41 06:41
-
Predicting Images on Your Hosted Flask Web Application 03:09 03:09
-
Congratulations and Final Words of Wisdom 00:48 00:48
-
Deploying Your Model on the Internet for Free 23:17 23:17
Instructor Details

Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.
Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.
As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
Course Certificate
User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

Our students work
with the Best


































Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now