python

APACHE AIRFLOW: Sending email notifications 

Reading Time: 3 minutes If you are reading this blog I assume you are already familiar with the DAG creation in Apache Airflow. If not, please visit “Dag in Apache Airflow”. This blog explains: – Sending email notifications using EmailOperator. – Sending email notification when Dag or task fails Here, we will schedule a dag that consists of 3 tasks. Task_1 and Task_2 are using BaseOperator while sending_email task Continue Reading

An Intro to Chatbot Development using RASA

Reading Time: 4 minutes What is RASA? RASA is an open-source chatbot framework based on machine learning. With the help of it, we can easily create highly accurate and sophisticated chatbots and can easily integrate these chatbots with our website, Telegram, Facebook, etc. Before we get into it, let’s look into some simple concepts that we should know while creating a chatbot. Query A query is the user message Continue Reading

Multiclass Classification: All you need to know

Reading Time: 3 minutes In this blog we are diving into a multiclass classification problem, and how you can make a good predictive model over an image data set. Classification is one of the most important practice among the AI/ML practitioner. It it important to master this skill as in real world see a lot of use of this. Ex: Tesla uses it to classification among with other models Continue Reading

Cloud Data Loss Prevention (DLP): Part-2

Reading Time: 2 minutes Google Cloud Platform’s Data Loss Protection API provides a service that can make organizations manage sensitive data, including detecting and redaction, masking, and tokenizing such data. This can help organizations comply with regulations such as GDPR, and reduce the risk of data exposure and data breaches. Such as a name, email address, telephone number, identification number, or credit card number. In the previous blog Cloud Data Loss Continue Reading

Getting Started With Django web framework

Reading Time: 4 minutes What is Django? Django web framework is a full-fledged python based web framework that can be used to build complex and highly scalable web apps. It closely follows the MVC(Model, View, Controller) pattern of software development i.e., MVT(Model, View, Template) where the template is equivalent to the controller in the MVC pattern. Model defines the data structure. This is the base layer to an application Continue Reading

How To Find Correlation Value Of Categorical Variables.

Reading Time: 4 minutes Hey folks, In this blog we are going to find out the correlation of categorical variables. What is Categorical Variable? In statistics, a categorical variable has two or more categories.But there is no intrinsic ordering to the categories. For example, a binary variable(such as yes/no question) is a categorical variable having two categories (yes or no), and there is no intrinsic ordering to the categories. Continue Reading

Know basics of OpenCV for Image Processing in Python

Reading Time: 5 minutes OpenCV known as Open Source Computer Vision, is a library in Python used for Computer Vision and Image Processing Tasks. It has a modular structure and includes several shared and static libraries. OpenCV can be used in languages such as Python, C++, Java etc. Some of the applications of OpenCV include Edge Detection, Face Detection, Object Detection, Face Recognition etc. Using OpenCV we can process Continue Reading

Getting Familiar with Activation Function and Its Types.

Reading Time: 7 minutes Hey Folks, In this blog we are going to discuss activation function in Artificial Neural Networks and their different types. Before going there, let’s get some idea about what is an artificial neural network? Artificial Neural Network(i.e., ANN) Artificial Neural Network refers to a biologically inspired sub-field of Artificial Intelligence modeled after the brain. ANN is a computational network based on a biological neural network Continue Reading

Pandas for Data Analysis

Reading Time: 4 minutes Why Pandas for data Analysis? Real ‘raw’ data needs a lot of ‘wrangling’ operations before it can be ready for dissection by a data scientist one of the popular tools for data wrangling in python is Pandas. Because of the availability of widespread packages of Pandas for almost every possible function. The library Pandas is one such package that makes life easier especially for data analysis. Through Continue Reading

An Introduction to Mako Templates in Python

Reading Time: 3 minutes Introduction to Mako Have you ever worked on a project in Python and thought to yourself, “Gee, it would be nice if I could dynamically generate web pages and/or text and have them directly interact with my program.” Well, you’re in luck because enter Mako templates. Mako is a template library and a Python Sever Page language, allowing content such as HTML, XML, and text Continue Reading

Marshmallow: Easy Serialization in Python

Reading Time: 2 minutes Introduction Marshmallow, stylized as “marshmallow”, is an object-relational mapping library which is used to convert objects to and from Python data types. It is often used alongside SQLAlchemy, an ORM that maps database schemas to Python objects. Marshmallow is often used to deserialize Python dicts to SQLAlchemy models and vice versa. Let’s focus on how to use Marshmallow. Creating Schemas First, we need to create Continue Reading

Running Apache Airflow DAG with Docker

Reading Time: 3 minutes In this blog, we are going to run the sample dynamic DAG using docker. Before that, let’s get a quick idea about the airflow and some of its terms. What is Airflow? Airflow is a workflow engine which is responsible for managing and scheduling running jobs and data pipelines. It ensures that the jobs are ordered correctly based on dependencies and also manages the allocation Continue Reading

MachineX: Run ML model prediction faster with Hummingbird

Reading Time: 3 minutes In this blog, we will see how to make our machine learning model’s prediction faster with a recently open-sourced library Hummingbird. Nowadays, we can see a lot of frameworks for deploying or serving the machine learning model into production. As a result, It is a headache for a data scientist to choose between these frameworks, keeping in mind how their model either Sklearn or LightGBM Continue Reading