2022-07-19

Understanding Deep U-Nets for Semantic Segmentation: A salt identification case study with Keras

19 mins read Introduction Deep Learning has enabled the field of Computer Vision to advance rapidly in the last few years. In this […]
2022-07-19

Understanding Transposed Convolution with Python example

25 mins read Transposed Convolutions is a revolutionary concept for applications like image segmentation, super-resolution, etc but sometimes it becomes a little trickier […]
2022-07-19

Understanding the basics of audio data with Python code

36 mins read Overview A huge amount of audio data is being generated every day in almost every organization. Audio data yields substantial […]
2022-07-11

A tutorial on Transfer Learning using PyTorch

21 mins read Overview The art of transfer learning could transform the way you build machine learning and deep learning models Learn how […]
2022-07-11

Stratified K-fold Cross Validation for imbalanced classification tasks

10 mins read Model evaluation involves using the available dataset to fit a model and estimate its performance when making predictions on unseen […]
2022-07-11

Understanding Perplexity for language models

17 mins read In general, perplexity is a measurement of how well a probability model predicts a sample. In the context of Natural Language Processing, […]
2022-07-11

How to select classification threshold for imbalanced datasets

21 mins read Classification predictive modeling typically involves predicting a class label. Nevertheless, many machine learning algorithms are capable of predicting a probability […]
2022-07-09

Which performance metrics to use for evaluating a classification model on imbalanced datasets?

8 mins read There are various metrics to evaluate a classification model: Accuracy, Precision, Recall F1-score, and AUC-ROC score. However, it is always […]
2022-07-08

Understanding the ROC curve and AUC-ROC with Python example

17 mins read AUC (Area Under the Curve)-ROC(Receiver Characteristic Operator) curve helps us visualize how well our machine learning classifier is performing. Although […]
2022-07-07

Hyperparameter optimization with Scikit-Learn GridSearchCV using different models

4 mins read Basically it is a bit difficult to manually perform grid search across different models in scikit-learn. We usually need to […]
2022-07-03

Visual comparison of decision boundaries for different classifiers

33 mins read There are many debates on how to decide on the best classifier. Measuring the Performance Metrics score, and getting the […]
2022-07-01

Handling imbalanced datasets for machine learning tasks

12 mins read You can find the implementation of codes in this post in the GitHub Gist. Introduction When observation in one class […]
2022-06-25

Understanding Moving Average Model in Time Series with Python

10 mins read One of the foundational models for time series forecasting is the moving average model, denoted as MA(q). This is one […]
2022-06-23

Understanding Self-Attention in Transformers with example

10 mins read What do BERT, RoBERTa, ALBERT, SpanBERT, DistilBERT, SesameBERT, SemBERT, SciBERT, BioBERT, MobileBERT, TinyBERT and CamemBERT all have in common? And […]
2022-06-19

Evaluation metrics for Multi-Label Classification with Python codes

10 mins read In a traditional classification problem formulation, classes are mutually exclusive. In other words, under the condition of mutual exclusivity, each […]
2022-06-19

Understanding Micro, Macro, and Weighted Averages for Scikit-Learn metrics in multi-class classification with example

11 mins read The F1 score (aka F-measure) is a popular metric for evaluating the performance of a classification model. In the case […]
2022-06-19

Why are precision, recall, and F1 score equal when using micro averaging in a multi-class problem?

9 mins read In one of my projects, I was wondering why I get the exact same value for precision, recall, and the F1 score when using scikit-learn’s metrics. […]
2022-06-14

Deploying and sharing Machine Learning projects easily using Gradio

7 mins read Students or Professionals from other streams, like business studies, practice and excel in data science. But when it comes to […]
2022-06-13

Common loss functions for training deep neural networks with Keras examples

30 mins read Deep neural networks are trained using the stochastic gradient descent optimization algorithm. As part of the optimization algorithm, the error for […]
2022-06-13

Detecting elbow/knee points in a graph using Python

16 mins read Theory When working with data, it is sometimes important to know where a data point’s “relative costs to increase some […]