Aditya Chatterjee's Blog, page 77
August 12, 2022
LASSO using ADMM
LASSO is the acronym for Least Absolute Shrinkage and Selection Operator. Regression models' predictability and interpretability were enhanced with the introduction of Lasso. Therefore, a thorough understanding of mathematics will be useful for ML applications. Using ADMM, we may investigate this solution.
Table of contents
IntroductionMachine Learning ContextSolving the LASSO Problem using ADMMImplementationIntroductionLASSO is often associated with it performing the choices of a smaller...
Least Absolute Deviation using ADMM
Least Absolute Deviation (LAD) is a powerful approach for solving optimization problems with good tolerance to outliers. Hence solving it to obtain a practicably applicable form is essential to take advantage of its theoretical prowess. For a better understanding, it is advised to have a good grasp of ADMM.
Table of contents
IntroductionMachine Learning ContextSolving the LAD Problem using ADMMImplementationIntroductionThe names "least absolute deviation" (LAD), "least absolute errors" (L...
August 7, 2022
Power Set of String in Lexicographic order
In this article, we have explored what is the meaning of Power Set of String and the algorithm to generate Power Set of String in Lexicographic order.
Table of contentsPower SetLexicographic orderWhat is Power set of string in Lexicographic order?AlgorithmComplextiyPower SetWe are all familiar with term "SET" at somewhere, probably in set theory (or in mathematics).
What is set? The answer is "It is a collection of well defined unordered distinct objects".
Example:
Sentiment Analysis with Naive Bayes Classifier Built from Scratch
In this article, we will implement a Naive Bayes classifier from scratch to perform sentiment analysis.
Table of ContentsOverview of Sentiment AnalysisOverview of Bayes' Theorem and How it Applies to Sentiment AnalysisOverview of Naive Bayes for Sentiment AnalysisDatasetInstallation and SetupCalculating Word FrequencyCalculating Probabilities and Implementing the ClassifierTesting and ResultsConclusionOverview of Sentiment AnalysisSentiment Analysis is the process of classifying whe...
August 5, 2022
Directed vs Undirected Graph
Reading time: 10 minutes
In this article, we have explained the differences between Directed and Undirected Graphs based on different attributes such as adjacency matrix, entropy and much more.
Before we start with the problem at hand we should first recall what graphs are.
Graphs are non linear data structure that enables us to viusalise structure of objects connected using links. Thre are two main components of a graph namely-
Different ways to pause a program in C++
In this article, we are going to learn about the different ways to pause a program in C++. With the help of this method or function, you will be able to pause any C++ program during execution.
A program is used to pause when a user wants to input or read some important data. The Different Pause method provides some time so the user can read data or instructions properly and choose the next action. In other words, the pause () method makes the software more readable and easier to use.
As C++ is t...
August 1, 2022
Convert Binary to Hexadecimal, Octal, Decimal
In this article, we will discuss how we can convert a binary number to a hexadecimal, octal, and decimal number.
Table of contents:
How to convert from Binary to HexadecimalHow to convert from Binary to OctalHow to convert from Binary to DecimalLet us get started with discussing how different types of numerical systems such as hexadecmial, octal, and decimal can be obtained from a binary number through conversion.
How to convert from Binary to Hexadecimal?Step 1: Seperate your binary numbe...
Iterative post-order traversal
In this article, we have explained how to do Iterative post-order traversal of a Binary Tree using 3 different techniques along with complete implementation.
Basics:
A binary search tree is a tree data structure where the key values of nodes in the left subtree are smaller than the key value of the root and the values of nodes in the right subtree are greater than the key value of the root.A tree traversal is visiting all the nodes in the tree exactly once. A post-order traversal is traversing...Snowflake

Table of contents
Snowflake is a cloud computing based data warehousing company. It provides cloud based storage and analytics services as SaaS (Software as a Service). The company was founded by Benoit Dageville and Thierry Cruanes in July 2012. The company has allowed businesses and organization to harness the power of vast amounts of da...
ADMM - Alternating Direction Method of Multipliers
Convex optimization can be used to formulate many of the latest issues in statistics and machine learning. It is becoming more crucial to be able to tackle issues with a very large number of features, training samples, or both as a result of the increase in size and complexity of modern datasets. Therefore, it is either essential or at the very least extremely desired that these datasets be collected or stored decentralizedly, along with the associated distributed solution techniques. Distribute...