Image for post
Image for post
Figure- 1 (Source)

Docker Explained

Docker is a software tool which has been developed to make the process of deploying and running an application much easier by the use of containers.

Containers are standard units of software that package up code and all its dependencies so that the application runs quickly and reliably from one computing environment to another.

Docker works on the principle of containerisation, which is a type of virtualisation at the Operating System level. While virtualisation brings abstraction to the hardware, containerisation brings abstraction to the operating system.


Image for post
Image for post
Figure 1: Source

Introduction

This blog is Part 1 of the How to deploy a Machine Learning model using Django series.

In this series of Django Development tutorial, we will first learn to create a Django REST application to deploy Machine Learning models. In the second part, we will see how to host this Django Rest Framework using Apache.

What is the Django REST Framework?

Django is a high-level Python Web Development framework that encourages rapid development and clean, pragmatic design. It has been built by experienced developers, and takes care of much of the hassle of Web development. It is also free and open source.

Django REST Framework is…


Image for post
Image for post
Figure 1: Source

What is Named Entity Recognition (NER)?

Named entity recognition (NER) is a sub-task of information extraction (IE) that seeks out and categorises specified entities in a body or bodies of texts. NER is also simply known as entity identification, entity chunking and entity extraction. NER is used in many fields in Artificial Intelligence (AI) including Natural Language Processing (NLP) and Machine Learning.

spaCy for NER

SpaCy is an open-source library for advanced Natural Language Processing in Python. It is designed specifically for production use and helps build applications that process and “understand” large volumes of text. It can be used to build information extraction or natural language understanding systems…


Image for post
Image for post
Figure 1: Image Source- The Data School

What is Web Scraping?

Web scraping is harvesting or extracting desired information from a webpage.

Scraping using BeautifulSoup

For web scraping we are going to use the very popular Python library called BeautifulSoup. For web scraping you first need to have some basic knowledge about the HTML tags. Some of the tags used in HTML are shown below.

For more information on HTML tags please refer to https://www.w3schools.com/tags/.

Getting Started

To get started with scraping make sure you have Python (version 3+) and BeautifulSoup installed on your system. If you don’t have BeautifulSoup installed, then just type the following command in your Terminal/Command Prompt-

pip install beautifulsoup4

Let’s scrape!

Inspecting

The…


Image for post
Image for post
Figure 1: Image Source- The Data School

What is Web Scraping?

Web scraping is harvesting or extracting desired information from a webpage.

Scraping using BeautifulSoup

For web scraping we are going to use the very popular Python library called BeautifulSoup. For web scraping you first need to have some basic knowledge about the HTML tags. Some of the tags used in HTML are shown below.

For more information on HTML tags please refer to https://www.w3schools.com/tags/.

Getting Started

To get started with scraping make sure you have Python (version 3+) and BeautifulSoup installed on your system. If you don’t have BeautifulSoup installed, then just type the following command in your Terminal/Command Prompt-

pip install beautifulsoup4

Let’s scrape!

Inspecting

The…

Kaustumbh Jaiswal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store