Brief introduction about BERT. How it is different from other Language Models (LMs)? What all are its advancements over others? Its features, performance evaluation, tasks by BERT, different pre-trained models, what does a BERT model name imply, model architecture, some required formatting while using BERT, few methods that can be adopted while implementing the BERT model, etc.

Photo by Soner Eker on Unsplash

Natural Language Processing (NLP) has broadened its horizons field with many distinct tasks, most task-specific datasets contain only a few thousand or a few hundred thousand human-labeled training examples. Shortage of training data is one of the biggest challenges in NLP. …

Create a local Functions project directory which equivalent to a function app in Azure

Photo by Daniel Mingook Kim on Unsplash

A Functions project directory contains the files host.json and local.settings.json, along with subfolders that contain the code for individual functions. This directory is the equivalent of a function app in Azure.

Version 3.x/2.x requires you to select a default language for your project when it is initialized. In version 3.x/2.x…

Steps to install the Azure Functions Core Tools in Windows 10

Photo by Shahadat Rahman on Unsplash

Azure Functions Core Tools includes a version of the same runtime that powers Azure Functions runtime that you can run on your local development computer. It also provides commands to create functions, connect to Azure, and deploy function projects.


  • A Microsoft Azure account.

Use this link to create free one.

Install and configure the pseudo-distributed mode of Hadoop 3.1 in Windows 10 by setting up a single node cluster.

Image by author

Installing a virtual machine requires allocation of a large amount of RAM for it to function smoothly else it would hang constantly.

This article will explain how to install and configure single-node pseudo-distributed Hadoop 3.1 cluster on Windows 10 without a virtual machine.


Java should be installed in the system…

OpenCV’s imwrite to save an image in a specific location with python code


OpenCV’s imwrite function is used to save images in a specific location.


OpenCV’s imwrite saves images to the file path specified. Here we are saving the file name image.jpg to a location C:/Users/admin/Downloads with a new name saved_image.jpg.

Spark notes:

  • The output of the above code will be False in the absence of that specific location.
  • imwrite will overwrite existing files without outputting an error or asking for confirmation.
  • Image of any format can be saved using this method. The format of the image is defined by the filename’s extension (.jpg, .png, etc.).
  • One can save any image from any location to another using this method.


[1]Chris Albon, Machine Learning with Python Cookbook: Practical Solutions from Preprocessing to Deep Learning(2018), O’Reilly Media

OpenCV python code for blurring an image using kernel or filter with the basic concepts of convolution, low pass filter, frequency of image, etc. by converting it into a gray scale image.

Blurred images

An image can be represented as a matrix. Features like edge, contrast, etc. have to be extracted from the image for image processing.

Convolution is a fundamental operation on images in which a mathematical operation is applied to each pixel to get the desired result. Here, another matrix called kernel/filter…

Transportation problem (TP) with example (N-W Corner Rule, Least cost method, VAM, Balanced TP, Unbalanced TP)

A railway track scissors-crossover in which a pair of switches connects two parallel rail tracks.
Photo by Zane Lee on Unsplash

In this fast-moving world, the need for the commodity is increasing day by day. Accordingly, the importance of transportation has a great role to play in society. The profit and fortunes of the companies which are moving merchandise from one corner of the country to another are determined by transportation…

Akhitha Babu

Data Science student at Central University of Rajasthan, India

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