
Deploy a machine learning model on a local server using a Flask rest api and Docker. The course guides Linux setup, VirtualBox, and CI tools like Jenkins and GitLab.
This video will the setup of the virtual box and the necessary configuration needed to do.
Set up PuTTY in a virtual environment to access a remote Linux shell, verify network settings with ipconfig, connect via ssh on port 22, and install Docker on Windows.
Explain updated installation steps for Ubuntu 18.04 and 22.04, GitLab and Jenkins, and common errors, and direct you to section five on CI/CD pipeline and Jenkins configuration.
Learn to install GitLab with Docker by pulling the community edition image from a Docker registry, then run a container exposing ports 80, 443, and 22 on your system IP.
Learn to set up a GitLab container, handle the password prompt, and create an admin user to access the GitLab dashboard via the provided IP address and port.
Explore sentiment analysis with nlp: classify tweets as negative, neutral, or positive using a python notebook, building and evaluating a model to improve accuracy.
Develop a Flask based API in Python to deploy an MLP model and serve sentiment estimates, using regex text cleaning, punctuation counting, and a logistic regression classifier.
Learn how to preprocess text for NLP by removing punctuation and special characters, applying tokenization and stemming, and computing body length and punctuation features to boost model performance.
Learn hyperparameter tuning and model selection for nlp using tf-idf features, grid search cv, and logistic regression to improve accuracy, with plans to deploy via flask and docker.
Explore how a Flask app uses templates and static files to render a sentiment analysis interface, with a home page, a form, and a /predict route showing sentiment results.
Launch and test a Flask API by running Python app.py, expose it on localhost:4000, and validate sentiment predictions on sample tweets with a dockerized deployment workflow.
Create a dockerfile to package a Flask API for the MLP model, using an Alpine base image, install dependencies, copy the app to /app, and expose port 4000.
Copy your local files to a remote environment using winSCP by logging in with hostname, port 22, and credentials, then drag and drop files to the remote directory.
Create a Jenkinsfile to define a pipeline with stages for cloning the repo, building and running a docker image, and executing tests, including permissions troubleshooting.
Configure a ci-cd pipeline by setting up a GitLab webhook in Jenkins, enable push and merge request triggers, and test the docker-based build pipeline end-to-end.
Celebrate completing the course and master the end-to-end NLP machine learning model building and deployment pipeline with hands-on tools.
Machine Learning Real value comes from actually deploying a machine learning solution into production and the necessary monitoring and optimization work that comes after it.
Most of the problems nowadays as I have made a machine-learning model but what next.
How it is available to the end-user, the answer is through API, but how it works?
How you can understand where the Docker stands and how to monitor the build we created.
This course has been designed to keep these areas under consideration. The combination of industry-standard build pipeline with some of the most common and important tools.
This course has been designed into Following sections:
1) Configure and a quick walkthrough of each of the tools and technologies we used in this course.
2) Building our NLP Machine Learning model and tune the hyperparameters.
3) Creating flask API and running the WebAPI in our Browser.
4) Creating the Docker file, build our image and running our ML Model in Docker container.
5) Configure GitLab and push your code in GitLab.
6) Configure Jenkins and write Jenkins's file and run end-to-end Integration.
This course is perfect for you to have a taste of industry-standard Data Science and deploying in the local server. Hope you enjoy the course as I enjoyed making it.