Machine Learning Tutorials


Learn how to build machine learning and deep learning models for many purposes in Python using popular frameworks such as TensorFlow, PyTorch, Keras and OpenCV.

Fine-tuning BERT for Semantic Textual Similarity with Transformers in Python
Fine-tuning BERT for Semantic Textual Similarity with Transformers in Python

Learn how you can fine-tune BERT or any other transformer model for semantic textual similarity using Huggingface Transformers, PyTorch and sentence-transformers libraries in Python.

Speech Recognition in Python
Speech Recognition in Python

Learn how to do Automatic Speech Recognition (ASR) using APIs and/or directly performing Whisper inference on Transformers in Python

Real-time Object Tracking with OpenCV and YOLOv8 in Python
Real-time Object Tracking with OpenCV and YOLOv8 in Python

Learn how to perform real-time object tracking with the DeepSORT algorithm and YOLOv8 using the OpenCV library in Python.

Image to Image Generation with Stable Diffusion in Python
Image to Image Generation with Stable Diffusion in Python

Learn how you can generate similar images with depth estimation (depth2img) using stable diffusion with huggingface diffusers and transformers libraries in Python.

How to Generate Images from Text using Stable Diffusion in Python
How to Generate Images from Text using Stable Diffusion in Python

Learn how to perform text-to-image using stable diffusion models with the help of huggingface transformers and diffusers libraries in Python.

How to Fine Tune ViT for Image Classification using Transformers in Python
How to Fine Tune ViT for Image Classification using Transformers in Python

Learn how to fine tune the Vision Transformer (ViT) model for the image classification task using the Huggingface Transformers, evaluate, and datasets libraries in Python.

How to Perform Image Segmentation using Transformers in Python
How to Perform Image Segmentation using Transformers in Python

Learn how to use image segmentation transformer model to segment any image using huggingface transformers and PyTorch libraries in Python.

Image Captioning using PyTorch and Transformers in Python
Image Captioning using PyTorch and Transformers in Python

Learn how to use pre-trained image captioning transformer models and what are the metrics used to compare models, you'll also learn how to train your own image captioning model with Pytorch and transformers in Python.

Clustering Algorithms in Machine Learning with Python
Clustering Algorithms in Machine Learning with Python

This article is a must-read for anyone looking to unlock the full potential of clustering in machine learning! It delves into the world of clustering, exploring different types such as density-based and centroid-based, and introducing lesser-known techniques like hierarchical and monothetic clustering with Python.

Tokenization, Stemming, and Lemmatization in Python
Tokenization, Stemming, and Lemmatization in Python

This article discusses the preprocessing steps of tokenization, stemming, and lemmatization in natural language processing. It explains the importance of formatting raw text data and provides examples of code in Python for each procedure.

Autoencoders for Dimensionality Reduction using TensorFlow in Python
Autoencoders for Dimensionality Reduction using TensorFlow in Python

Learn how to benefit from the encoding/decoding process of an autoencoder to extract features and also apply dimensionality reduction using Python and Keras all that by exploring the hidden values of the latent space.

A Guide to Explainable AI Using Python
A Guide to Explainable AI Using Python

An overview of model explainability and interpretability fundamentals, AI applications, and biases in AI model predictions. We looked at utilizing SHAP and LIME to explain a Logistic Regression model and how to explain and interpret an ensemble model.

Dimensionality Reduction Using Feature Selection in Python
Dimensionality Reduction Using Feature Selection in Python

Learn how to perform dimensionality reduction with feature selection such as recursively eliminating features, handling highly correlated features, and more using Scikit-learn in Python.

K-Fold Cross Validation using Scikit-Learn in Python
K-Fold Cross Validation using Scikit-Learn in Python

Learn how you can perform K-Fold cross validation technique using the scikit-learn library in Python.