
Course Introduction and Outline
Ways To Productionize Your Machine Learning Models
Using Web Apps (Flask,Pyramid,Django,Express,etc)
Using Your ML Models as API
Using Streamlit
Using Your ML Models as a Package
Using Docker
Using Pipenv
How to Install Pipenv on Your System
pip install pipenv
Explore datasets, course materials, and code sources for building machine learning web apps, from the UCI repository and GitHub to data portals like datahub and Microsoft open data.
In this lecture we will be going on a fast pace to get an idea of how to build models for gender classification of names. We will be using these saved models in the next sections to build packages and other products.
Learn to search for users in a database using query filters and render results with templates, building and displaying user profiles by first names in a Flask crash course.
Streamlit Crash Course
Streamlit - A Machine Learning Framework for building ML Tools
Installation
pip install streamlit
Boot up a Flask app from scratch, setting up templates, static files, and models. Learn to render templates, initialize routes, and run and debug the development server.
Explore various approaches to beautify the front end of ML Flask apps using bootstrap and practical design techniques to improve aesthetics and user experience.
Develops the prediction aspect by mapping dictionary features and encoding user inputs—education, marital status, occupation, race, native country, gender, and hours per week—into a JSON vector for salary prediction.
This utilizes the new feature which is found only version 0.52.1 and upwards.
To install you will need to use this
pip install streamlit==0.52.1
Build a Python package from scratch and later with Poetry, structure a package with __init__.py, core module, and tests, and implement a simple gender classifier class with initialization.
select a model type and load the corresponding model (base, logistic regression, or others) in the gender classifier package to run predictions and add an Indonesian classification option.
In this lecture we will learn how to serve or use our ML models as API using FastAPI, a high performance framework.
So far we have seen how to productionize our ML models in several ways. Another great tool you can use to simplify the building of these ML products is to use Hug.
Hug is a framework that exposes your code in several ways specifically in 3 Main Ways
Local Package
API
CLI
In this section we will learn how to do so.
Follow the data science lifecycle to build a hepatitis mortality prediction model from raw data, including cleaning, preprocessing, feature selection, evaluation, and interpretation in a simple web app.
Course Description
Artificial Intelligence and Machine Learning is affecting every area of our lives and society. Google, Amazon, Netflix, Uber, Facebook and many more industries are using AI and ML models in their products.
The opportunities and advantages of Machine Learning is quite numerous.
What if you could also build your own machine learning models?
What if you can build something useful from the ML model you have spend time creating and make some profit whiles helping people and changing the world?
In this wonderful course, we will be exploring the various ways of converting your machine learning models into useful web applications and products.
We will move beyond just building machine learning models into build products from our ML Models.
Products that you can give to your customers and other users to benefit from. We will be adding simple UI to our AI and ML models.
With every section of the course you will develop new skills and improve your understanding of this challenging yet important sub-field of Data Science and Machine Learning.
This course is unscripted,fun and exciting but at the same time we dive deep into building Machine Learning web applications.
What You will Gain in this Course
In this course you will develop new skills as you learn:
how to setup your Data Science and ML work-space locally.
how to build machine learning models.
how to interpret ML models with Eli5.
how to serialize and save ML models.
how to build ML web apps using the models we have created.
how to build packages from your ML Models.
how to deploy your products.
etc
Join us as we explore the world of building Machine Learning apps and tools.