Archives
All the articles I've archived.
-
Mastering Digit Recognition in Under 100 Lines - A Concise Guide to Neural Networks with PyTorch and MNIST
Imagine a world where machines understand handwritten notes as easily as humans do, transforming scribbles into digital text in the blink of an eye. This isn’t a page from a sci-fi novel; it’s possible using this basic principles of Machine Learning.
-
Understanding ReLU - The Power of Non-Linearity in Neural Networks
Without non-linearity, neural networks would be far less effective, essentially reducing deep networks to simple linear regression models incapable of the sophisticated tasks they perform today.
-
How to build a simple CNN based Image classifier using Keras
Convolutional neural network (CNN), a class of artificial neural networks that has become dominant in various computer vision tasks, is attracting interest across a variety of domains. CNN work well on computer vision tasks like image classification, object detection, image recognition, etc.
-
Installing TensorFlow on M1 MacBook Air with GPU (Metal)
You can now leverage Apple’s tensorflow-metal PluggableDevice in TensorFlow v2.5 for accelerated training on Mac GPUs directly with Metal.
-
OpenPose - Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields
The proposed approach uses a nonparametric representation, also reffered to as Part Affinity Fields (PAFs), to learn to associate body parts with individuals in the image.
-
Run Ubuntu on M1 Macbook Air using UTM
UTM is an amazing software that allows us to virtualise and emulate different OS's such as, different flavours of Linux, Windows, older version of mac OS etc on the latest ARM architecture based Mac's.
-
Authentication Flow with React Navigation v5
Authentication Flow with React Navigation v5. Due to the recent update in react navigation some major changes have taken place.
-
What is web 3.0?
People are talking about Web3. Is it the Internet of the future or just a buzzword? Web3, short for web 3.0, is a vision of the future of the Internet in which people operate on decentralized, quasi-anonymous platforms, rather than depend on tech giants like Google, Facebook and Twitter.
-
Add anaconda to right-click menu in windows
Anaconda is a python package manager and it is really amazing, it is popular because it brings many of the tools used in data science and machine learning with just one install.
-
How to open sublime text from the windows command line
Sublime Text is a light-weight IDE for quick development. We can open Sublime text from the command line just like VS Code.
-
Mnist handwritten digit classification using CNN
Mnist dataset is used as an introduction to neural network for beginners. Convolutional Neural Networks (CNNs) are the current state-of-art architecture mainly used for the image classification tasks.
-
Sentiment analysis flask web app using python and NLTK
Sentiment analysis in python is really simple because of the NLTK library and it's pretrained model called VADER(Valence Aware Dictionary for Sentiment Reasoning)
-
Difference between sort() and sorted() in python
The primary difference between the list sort() function and the sorted() function is that the sort() function will modify the list it is called on.
-
Find unique elements in python list
Using set() property of Python, we can easily check for the unique values. Set only stores a value once even if it is inserted more then once.
-
CSS to ignore parent padding in 4 lines
You need a full-width container element because the design has a background-color that goes from edge-to-edge horizontally. But the content inside doesn’t necessarily need to be edge-to-edge.
-
The complete Anaconda cheatsheet
Anaconda is a python package manager and it is really amazing, it is popular because it brings many of the tools used in data science and machine learning with just one install.
-
Mnist handwritten digit classification using tensorflow
Mnist dataset is used as an introduction to neural network for beginners. In this article I use Tensorflow and keras to build a neural network.
-
The ultimate guide to confusion matrix in machine learning
This article explains some of the very important terms in Machine learning such as Accuracy, Precision, Recall and Confusion matrix.
-
Create Random String and strong Passwords in Python in 4 lines of code
The secrets module is used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets.
-
How to build a Spam Classifier in python and sklearn
The upsurge in the volume of unwanted emails called spam has created an intense need for the development of more dependable and robust antispam filters. This tutorial will help to build a simple spam classifier using python.
-
Introduction to Word Frequency in NLP using python
Natural language processing (NLP) refers to the branch of computer science—and more specifically, the branch of artificial intelligence or AI—concerned with giving computers the ability to understand text and spoken words in much the same way human beings can.
-
Mushroom dataset analysis and classification in python
Mushroom classification is a machine learning problem and the objective is to correctly classify if the mushroom is edible or poisonous by it's specifications like cap shape, cap color, gill color, etc. using different classifiers.
-
How to Use Filter in PostgreSQL with example
Postgres 9.4 was released in December 2014 adding the `FILTER` clause to aggregate functions and this clause is quite useful when you want to count or sum specific records when executing group by.
-
How to use python virtual environment with conda
A virtual environment is a Python environment such that the Python interpreter, libraries and scripts installed into it are isolated from those installed in other virtual environments.
-
How to install jupyter notebook on ubuntu 20.04/18.04 using python 3 and virtualenv
Jupyter Notebook is an essential software used by data scientists, it lets you create and share interactive code, visualisations, and more.
-
Add ellipses to overflowing text and truncate the text using CSS
The text-overflow property specifies how overflowed content that is not displayed should be signaled to the user. It can be clipped, display an ellipsis (...), or display a custom string. If you don't want text to wrap and add ellipses to overflowing text this is how to do it.
-
Using Redis to make your website 30-40% faster
Redis is a type of database and it can be added to your production level application to make it more performant.
-
How to add Next.js 11 image component to your website
How we can blur image while loading in version 11 next.js? Showing low quality placeholder till the high quality image loads with coding examples.
-
How to return value from image.onload function
The onload event occurs when an object has been loaded, and is commonly used in scenarios with image manipulation in JavaScript.
-
Tips For Using Async/Await - Write Better JavaScript!
There’s a special syntax you can use in JavaScript that makes working with promises easier. It's called “async/await".
-
How to convert existing react website into progressive web app (PWA)
Progressive Web Apps (PWAs) are web apps that use service workers, manifests, and other web-platform features in combination with progressive enhancement to give users an experience on par with native apps.
-
Introduction to Progressive Web Apps
Progressive Web Apps (PWAs) are web apps that use service workers, manifests, and other web-platform features in combination with progressive enhancement to give users an experience on par with native apps. In this article I will show you how easy it is to make your website PWA compatible
-
How to build a React drag-and-drop component for file upload
React DnD is a set of React utilities to help you build complex drag and drop interfaces while keeping your components decoupled. In this article, we'll learn how to create our own drag-and-drop component in React, and we'll use the HTML5 native DnD API for this.
-
8 underrated git commands every programmer should know
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. These are some of the most useful git commands that helped me during my programming journey
-
Create react code snippet component
How Create a component for displaying codeblocks in a react website. This is a port of highlight.js.
-
Connecting Rasa Chatbot to a website - A step by step tutorial
Rasa is an open source machine learning framework to automate text-and voice-based conversations. With Rasa, you can build contextual assistants. This tutorial will help to connect your Rasa bot to a website.