PC: https://www.freepik.com/vectorpouch

We Data Scientists and ML Engineers focus more on building successful models and not much concerned about how we going to deploy the model in real-world production systems.

Why we need dockers?

Things will be simple when we only have to setup python environments, tools like Anaconda and venv make it easy to share the python environments as an environment.yml or requirements.txt to reproduce it. But what if have configured few more libraries, or we have used TensorRT or any other C++ libraries to do fast inferencing.

As the system gets larger we may install new dependencies and make configurations to the environment. Missing…

PC: freepik.com

Sometimes you might work on different projects at the same time with different versions of python. Normally using Miniconda or Anaconda is the easiest solution, but if your team using the python-venv package to manage the virtual environments, then you also need to follow the same convention.

In this article, I will give the steps to install multiple versions of python and how to switch between different versions and use them as needed.

Installing alternative Python versions

Before you do anything else just open your terminal and see which version of python is installed by default in your system.

python --version

PC: Lucas Kepner (unsplash.com)

Nowadays most of us use the CUDA toolkit to train deep learning models. But things get messy when we grow from PROJECT to PROJECTS. Yes, soon as we start to work on two or three deep learning projects we may end up with the need for different environments. Sometimes we may need different versions of CUDA and cuDNN for different projects.

If you are a person who only uses Python the Anaconda (conda package manager) will come in handy in such situations. But there are situations you need to be relay on C++ as well. One good example is when…

Source: Freepik

Writing this article to help out those who have trouble in setting up Cuda enabled TensorFlow deep learning environment. If you don’t have Nvidia GPU configured in your system then this article is not for you. And you need the below items in order to configure this environment. Don’t worry I will guide you throughout the processes to install all of them.

  1. Microsoft Visual Studio
  2. Anaconda
  3. Python (Preferably with conda package manager)
  4. Tensorflow

Ensure that you have Nvidia GPU in your system

Open Task Manager and go to Performance Tab, scroll down to the bottom. If you have Nvidia GPU it will be listed below there.

PC: PickPik (https://www.pickpik.com/wall-e-robot-toy-cute-wallpaper-romantic-2954)

Robotics is an interdisciplinary area of study between engineering and computer science. The key aim of robotics is to produce, computer programmable machines, that can do tasks with more speed and precision. The application of robotics is countless in the current era, for example transporting heavy things (in logistic management), automated manufacturing, self-driving cars, and unmanned aerial vehicles, and many more.

It is necessary for every beginner to understand the concept of Control Systems to get started with robotics. Control systems help to control the movements and functions of the robot. …

PC: Flickr

Understanding Image Segmentation

Recently I was working on an Image classification task where first I wanted to capture the region of interest from the image before feeding it into the model. I tried a technique called cluster-based image segmentation which helped me to improve my model performance by a certain level. Let us see what it is and some sample codes to do cluster segmentation, you can find the Jupyter Notebook at the bottom.

What is Image Segmentation?

Imagine that you are going to cross the road, what you do before you cross the road?

First, you see both sides of the road to determine the approaching…

PC: Flickr

Hey buddies, recently I was working on an image classification problem. But unfortunately, there were not enough samples in one of class. I searched the internet and learned about a technique called image augmentation. Here I have shared my understanding of this technique and shared some codes using skimage. You can find the jupyter notebook at the bottom.

What is Image Augmentation?

Image augmentation is a technique used to artificially increase the size of your image dataset. It can be achieved by applying random transformations to your image.

We know Deep learning models are able to generalize well when they are able to see…


Natural language processing is an important branch of Artificial intelligence where many interesting and important pieces of research are going on. As a machine learning enthusiast, it is important to understand the sub-processes of NLP.

Here I would like to share one of the buzz words used in NLP with (link to notebook attached at the bottom) code examples. “BAG OF WORDS!!!”.

What is Bag of words in NLP?

Bag of words is a method that is used to find out the important topics in a text (paragraph). What are the topics? let’s say you are reading the below paragraph,

As a pet, cat is a very…

Image Source

Hello, fellow Machine Learning Enthusiasts! It’s been a while since I wrote something on Medium due to my Internships. While I was working on my project, I faced a situation where I needed to try out different classifiers with different hyperparameters. I found it difficult to manually change the hyperparameters and fit them on my training data every time. Here’s why:

  • it is time-consuming
  • it is hard to keep track of hyperparameters we tried and we still have to try

So, I quickly asked Google if there was any solution to my problem and Google showed me something called GridSearchCV…

When we take a picture using our mobile camera what we do before we post in Social Media? Of course, we adjust the brightness, contrast and many more. Have you ever wondered what is happening to our image behind the screen?

It is all possible by a simple trick known as Point Operation. There are many point operations, as well as many use cases of them. Some of them are,

  • Modifying Brightness or Contrast
  • Applying Arbitrary Intensity transformations
  • quantizing images
  • global thresholding
  • gamma correction
  • color transformations and etc.

What is Point Operation?

We all already know that images are simply represented digitally as a…

Mathanraj Sharma

Reading BSc Hons Computer Science, at the University of Jaffna | Machine Learning Engineer at H2O.ai

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