Building deep learning solutions in the real world is a process of constant experimentation and optimization.

Unlike any other type of software application, deep learning applications don’t have a linear graph lifecycle and relies on the fact that models need to constantly refined, optimized and tested.

In a nutshell, model optimization is directly proportional to model robustness!

Being a deep learning practitioner, you cannot deny the fact that choosing the correct hyperparameters for your model is a very critical and painful task.

So, Google’s TensorFlow created an awesome framework to solve the pain points of performing a hyperparameter tuning and optimization.

The Keras Tuner is a library that helps you pick the optimal set of hyperparameters for your real world Deep Learning applications.

Source — Pinterest

Artificial Intelligence has undoubtedly rationalized the extreme simulations of human intelligence in machines that are programmed to think like humans and mimic their actions. A subset of artificial intelligence is Natural Language Processing, which is concerned with the interactions between computers and human language, in particular how to program computers to process and analyze large amounts of natural language data.

Natural Language Processing is everywhere even if we don’t realize it! Be it the great Grammarly that corrects your grammatical errors, and informs you how your text sounds, or be it Gmail that automatically predicts the next sequence of likely words to compose your mail faster in a more professional manner, Natural Language Processing is always ready to help you!

We use natural language applications or benefit from them every day. Here are some examples of the most widely used NLP applications:

  1. Machine Translation — Machine translation, sometimes referred to by the abbreviation MT, is a sub-field of computational linguistics

So, what is an Activation Function?

An activation function is a function that is added to an artificial neural network in order to help the network learn complex patterns in the data. When comparing with a neuron-based model that is in our brains, the activation function is at the end deciding what is to be fired to the next neuron.

In artificial neural networks, the activation function of a node defines the output of that node given an input or set of inputs. A standard integrated circuit can be seen as a digital network of activation functions that can be “ON” (1) or “OFF” (0), depending…


This blog is not for people who fear math !

(But make sure to give it a read if you get offended :P)

So, what are Transformers ?

By now, you must be thinking of the robots in Michael Bay’s series of American science fiction action films !

Well nope, this is something different.

The Transformer is a deep learning model introduced in 2017,with its architecture proposed in the paper Attention is All You Need based on a self-attention mechanism and used primarily in the field of natural language processing (NLP).

What makes the Transformer a “Novel Neural Network Architecture for Language Understanding” ?

Unlike RNNs, Transformers do not require the sequential data to be processed…

Did you ever found yourself in a situation whereupon training your machine learning model you obtain an accuracy above 90%, but then realize that the model is predicting everything in the class with the majority of records ?

There you actually get a smell of Imbalanced Data and now you know that your model is a complete waste !

What is Imbalanced Data ?

Imbalance means that the number of data points available for different classes is different. For example, consider you have the famous dataset of ‘normal’ and ‘fraudulent’ Credit Card Transactions where number of records for ‘normal’ transactions is 284315, and that of ‘fraud’ transactions is only 492.

When you deal with such problem, you are likely to work…

When I was beginning my way in data science, I often faced the problem of choosing the most appropriate algorithm for my specific problem. If you’re like me, when you open some article about machine learning algorithms, you see dozens of detailed descriptions. The paradox is that they don’t ease the choice.

Well, to not let you feel out of the track, I would suggest you to have a good understanding of the implementation and mathematical intuition behind several supervised and unsupervised Machine Learning Algorithms like -

  • Linear regression
  • Logistic regression
  • Decision tree
  • Naive Bayes
  • Support vector machine
  • Random forest

What is Swagger ?

Swagger is in essence an Interface Description Language for describing RESTful APIs expressed using JSON. Swagger is used together with a set of open-source software tools to design, build, document, and use RESTful web services. Swagger includes automated documentation, code generation, and test-case generation.

What is Swagger UI?

The Swagger UI is an open source project to visually render documentation for an API defined with the OpenAPI (Swagger) Specification. Swagger UI lets you visualize and interact with the API’s resources without having any of the implementation logic in place, making it easy for back end implementation and client side consumption.

In this blog, you will learn how to detect COVID-19 in a hand-created X-ray image dataset using Keras, TensorFlow, and Deep Learning, and make a web application of the same with our very own Flask!

This is how your web application will look …

An Overview of Sweetviz Analytics Report

Exploratory Data Analysis (EDA) is used to explore different aspects of the data we are working on. EDA should be performed in order to find the patterns, visual insights, etc. that the data set is having, before creating a model or predicting something through the dataset. EDA is a general approach of identifying characteristics of the data we are working on by visualizing the dataset. EDA is performed to visualize what data is telling us before implementing any formal modelling or creating a hypothesis testing model.

Analyzing a dataset is a hectic task and takes a lot of time, according…

A good news for people looking at this blog :P


When beginners get started with machine learning, the inevitable question is “what are the prerequisites? What do I need to know to get started?”

And once they start researching, beginners frequently find well-intentioned but disheartening advice, like the following:

You need to master math. You need all of the following:
– Vector Calculus
– Differential equations
– Mathematical statistics
– Optimization
– Algorithm analysis
– and
– and
– and ……..oh crap I am not into this!

A list…

Sukanya Bag

Just another AI enthusiast. 🙂 GitHub-

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