Sign in

Pranjal Saxena

A Data Scientist, A Writer, A Storyteller, and A Tech Enthusiast

Captured by The Author

I am a data scientist, a writer, a storyteller, and a tech enthusiast. I focus on the practical part of data science and usually write about programming, machine learning, deep learning and other technical contents. I also write about some life tricks to live a happy and healthier life. If you are a programmer, data science, tech enthusiast, or a reader looking for practical usage of programming, data science and living a better life, you are at the right place.

These are some of my best writings:


The Avatarify library makes it a lot easier

Man pulling two different faces
Man pulling two different faces
Image by Ryan McGuire from Pixabay.

Note: This article is intended for educational purposes only and focused on the positive side of deep learning and Python programming.

Avatarify is based on the First Order Motion Model that utilizes the image animation and face-swap approach of deep learning. The main goal of this model is to make photorealistic avatars for video conferencing.

It is based on StyleGAN. Style transfer helps in transferring input image features over a video. Avatarify transfers any input face to any other video. The input image can be any animated character, human face, or anything that looks like a face.

This article will…


Advice for Programmers

Based on my personal scripting experience

person in red sports shoes climbing a staircase
person in red sports shoes climbing a staircase
Photo by Lindsay Henwood on Unsplash

Python is very handy in terms of shortcuts this language provides. Some of the shortcuts are very useful, make the scripting much faster, and optimizing your code.

These shortcuts are available in the Python libraries, and using them can make your code work faster and more easily. We need to become used to these functions so that we can utilize them when needed and save our time.

In this article, I will share the nine most useful functions I have come up with based on my personal coding experience.

1. reversed()

While programming, we often need to reverse a string or a…


Python for Stock Market Trading

Photo by Aziz Acharki on Unsplash

We all like python programming language because it is easy to understand, and also it is the most appropriate programming language for data science. Python is easy because we don’t need to focus on the error solving part but build a robust product. Today, we will see how we can utilize python programming to find the most volatile stock in the share market with a few lines of python code.

Before starting with the code part, we need to find a source that can provide us the stock price data. Many sources like Quandl, Quantopian, and Yahoo Finance can offer…


GANs for Mobile Devices

Photo by 🇸🇮 Janko Ferlič on Unsplash

Generative adversarial networks (GANs) are among the more significant advancements in deep learning in recent years. Previously, we used machine learning and deep learning techniques with a considerable amount of data to build a model to understand data by classifying them. But now, with GANs, we use an algorithm that generates data for us.

Two of the most commonly used and efficient generative models are Variational Autoencoders (VAE) and Generative Adversarial Networks (GAN).

A VAE learns a given distribution comparing its input to its output; this is good for learning hidden representations of data but is pretty bad for generating…


Amazing Face Effects in Spark AR

Photo by Madison Mead on Unsplash

AR camera filters that can be accessed via social media apps like Facebook and Instagram are referred to as “social” applications. Inside the camera feature of these applications, there are a variety of amusing and attractive filters. Facebook and Instagram both have AR capabilities.

Spark AR Studio can be used to modify the appearance of people’s faces. You may also give the face and the whole scene a finishing touch. You will learn how to do some minor face smoothing and lighting effects in this blog.

Let’s Get Started

Open Spark AR Studio and choose Blank Project from the + New Project menu…


You don’t need to import TensorFlow to print “hello world.”

Photo by Julian Jagtenberg from Pexels

0. Eat The Frog

The author Brian Tracy once said “Eat The Frog” — means, “do that hardest task first.” You have some programming task to complete, and you know that the job is essential and crucial and need more learnings to complete.

If you keep pushing it later and doing the other more minor task, making you temporarily happy. Still, there will always be the thought of dreadfulness in the back of your mind all day long.

However, if you will focus on the hard part first and spend a reasonable amount of time, then rest of the day, you can give time…


Just need 5 minutes of your time, photoshop is nowhere in the race here

Photo by Tima Miroshnichenko from Pexels

Deep Learning is interesting and it is my favorite area of research. I really like to play with new research development that deep learning practitioners are doing. I just came across an amazing GitHub repo from one of my fellow mates on the computer vision group. I like it so much that think of sharing it with you all.

The GitHub repo is based on GANs (Generative Adversarial Network) model. It can remove any kind of tattoo from body parts.

I will walk you through the step-by-step process of how you can utilize the same repo using your own image.

Launch Google Colab


P-values, TF-IDF, precision, recall, residuals, and many more

Photo by Gabby K from Pexels

Data science is a big field still most industries follow the same set of algorithms and techniques to do the task. And, interviews are one of them who engaged with the same techniques.

And, when most of the industries are using almost the same type of technique and lead them to ask similar kind of questions. These questions are usually the ones where data scientists need to give most of their focus to understand.

I went through my career change process and took part in around 27 interviews in 3 months of duration. Three months because there was a notice…

Pranjal Saxena

Data Scientist | Writer | Storyteller | Career Consultant

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