Mahadev Maitri's Logo

Vision Transformer (ViT) for Image Classification

May 25th, 2025

My journey into deep learning began in 2019 with the classic Kaggle Digit Recognizer challenge, where I moved from a simple neural network to a CNN that achieved 98% accuracy. Now, as an AI Engineer, I'm revisiting that same project to explore a more modern architecture: the Vision Transformer (ViT). This post is a hands-on comparison, pitting my old CNN approach against the new ViT on this familiar battleground to see just how much the world of computer vision has evolved.

Building Simple Agentic AI with LangGraph

March 27th, 2025

I build agents and tools at my work to connect business requirements to AI solutions. In this blog, I will share how I built a simple agentic AI using LangGraph, which can serve as a foundation for building more complex agents. We'll explore the core concepts of agentic AI, dive into practical implementation with LangChain tools, and see how Retrieval-Augmented Generation (RAG) enhances an agent's capabilities to work with external knowledge bases.

Formula 1 Grand Prix Strategy Optimization with Deep Reinforcement Learning

September 21st, 2024

Formula 1 racing is an exciting sport that depends on split-second decisions and smart strategy. As a huge fan who has been watching F1 since the close Mercedes-Ferrari battles in 2018, I became fascinated by how teams use technology and data to optimize their performance. This led me to explore whether recent AI developments could help make perfect strategy decisions during a Grand Prix, considering multiple factors. In this blog, I'll share how I used Deep Reinforcement Learning to create an AI system that can learn and adapt race strategies in real-time, just like the best human strategists.

Searching Algorithms Analysis

July 9th, 2024

A detailed analysis of searching algorithms including Linear Search and Binary Search, exploring their principles, implementations, and performance in terms of time and space complexity. This guide offers clear examples, comparisons and LeetCode problems to help you understand which algorithm is best suited for different scenarios, making it easier to choose the most efficient search method for your needs.

Sorting Algorithms Analysis

May 29th, 2024

The detailed analysis and comparison of various sorting algorithms including Selection Sort, Bubble Sort, Insertion Sort, Quick Sort, Merge Sort, and Heap Sort, along with their time and space complexities, to determine the most efficient algorithm for your needs.