Hello World!

Welcome to my site. I use this site as a repository to dump knowledge I come across, generally in the areas of software engineering and information technologies, but may include other miscellaneous tidbits. Most of the posts are written as notes for my personal reference.

 

if i.hear then
i.forget
if i.see then
i.remember
if i.do then
i.understand

Latest articles

Network Security Cryptography Hash MAC

Network Security Symmetric Cryptography Sections: 2.1 Basics of Crypto | 2.2 Stream Ciphers & Adversaries | 2.3 Block Ciphers | 2.4 Hash Functions | 2.5 MAC and Authenticated Encryption 2.1 Basics of Cryptography Goals of Cryptography Primary Goal: Ensuring security of communication over an insecure medium What Does Secure Communication Mean? Confidentiality (Privacy/Secrecy): Only the […]

Read article : Network Security Cryptography Hash MAC

Logistic Regression, Support Vector Machines, and Kernel SVM

Part 1: Logistic Regression 1.1 Introduction to Logistic Regression Logistic regression is a probabilistic model for binary classification. Unlike linear regression, which predicts continuous values, logistic regression outputs probabilities between 0 and 1. The core idea is to apply the sigmoid (logistic) function to a linear score: \[ \sigma(z) = \frac{1}{1 + e^{-z}} \] where […]

Read article : Logistic Regression, Support Vector Machines, and Kernel SVM

Search and Optimization in Machine Learning

This blog post provides a detailed explanation of optimization techniques in machine learning. It is intended for college students and explains concepts step-by-step with mathematical notations, examples, and illustrative diagrams. 1. Why Optimization Matters in Machine Learning In machine learning, training a model involves finding the best possible model from a dataset. This process is […]

Read article : Search and Optimization in Machine Learning

Logistic Regression and Support Vector Machines

This blog post provides a detailed explanation of the key concepts Logistic Regression and Support Vector Machines (SVMs). These are fundamental algorithms in machine learning for classification tasks. 1. Logistic Regression Logistic Regression is a probabilistic classification model used primarily for binary classification problems. Unlike linear regression, which predicts continuous values, logistic regression outputs the […]

Read article : Logistic Regression and Support Vector Machines

Nearest Neighbor Methods

This blog post provides a detailed explanation of the Nearest Neighbor algorithms, specifically focusing on k-Nearest Neighbors (KNN), as covered in predictive modeling for data mining. Introduction to Nearest Neighbor: Instance-Based Learning The Nearest Neighbor method is a discriminative classification algorithm that is non-parametric and instance-based. Unlike parametric models (e.g., linear regression) that learn explicit […]

Read article : Nearest Neighbor Methods

Predictive Modeling in Data Mining: Concepts, Mathematics, and Practical Implications

This post explains predictive modeling as a data-mining workflow composed of four essential elements: (i) task specification, (ii) knowledge representation, (iii) learning (scoring + search), and (iv) prediction/evaluation. Contents 1. Introduction 2. The Four Components of a Predictive Modeling Algorithm 3. Task Specification 4. Knowledge Representation (Model Families) 5. Learning: Model Space, Scoring Functions, and […]

Read article : Predictive Modeling in Data Mining: Concepts, Mathematics, and Practical Implications

Naive Bayes Classifiers

This blog post provides a detailed explanation of Naive Bayes Classifiers (NBC), a fundamental probabilistic classification algorithm in data mining and machine learning. We will explore the concepts step by step, including mathematical foundations, assumptions, learning processes, and practical considerations. Introduction to Naive Bayes Classifiers The Naive Bayes Classifier is a probabilistic model used for […]

Read article : Naive Bayes Classifiers

Exploratory Data Analysis (EDA)

What is Exploratory Data Analysis? Exploratory Data Analysis (EDA) is an approach to analyzing data when you do not yet have a clear hypothesis or modeling goal. Instead of jumping directly into modeling, EDA focuses on understanding the structure, patterns, and anomalies in the data. EDA aims to: Maximize insight into the dataset Uncover underlying […]

Read article : Exploratory Data Analysis (EDA)

Linear Algebra for Data: Vectors, Matrices, Eigenvalues, SVD, and Distance Measures

1) Vectors: The Fundamental Data Object 1.1 What is a vector? A vector is a 1D array of numbers. You can think of it as: A list of features for one data point (e.g., height, weight, age). A point in space (2D, 3D, or higher dimensions). An arrow with direction and length (geometric view). Notation: […]

Read article : Linear Algebra for Data: Vectors, Matrices, Eigenvalues, SVD, and Distance Measures

Foundations of Data Mining

The Data Mining Process Overview The full data mining process includes several stages: Data Selection: Choosing relevant data sources. Data Preprocessing: Cleaning, transforming, and preparing data (handling missing values, outliers, etc.). Data Mining: Applying algorithms to extract patterns/models (the focus of most courses). Interpretation/Evaluation: Analyzing results and validating them. While the full process is important, […]

Read article : Foundations of Data Mining