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

Foundations of Probability and Statistics for Data Mining

  1. High-Level Overview – Probability and Statistics In the real world, we rarely have complete information. Data is noisy, measurements contain errors, and future events are uncertain. Probability theory provides a rigorous mathematical framework for: Quantifying uncertainty in a principled way Making optimal decisions when outcomes are uncertain Building models that generalize beyond observed […]

Read article : Foundations of Probability and Statistics for Data Mining

Cryptography in Real-World Applications

TLS (Transport Layer Security) – Real-World Application What is TLS? Transport Layer Security (TLS) is a cryptographic protocol that provides secure communication over computer networks. It’s the successor to SSL (Secure Sockets Layer) and is widely used to secure web traffic (HTTPS), email, VPNs, and other network communications. Core Security Objectives: Confidentiality: Data encrypted so […]

Read article : Cryptography in Real-World Applications

Public Key Cryptography Foundations

Complete Guide to RSA, Rabin, Goldwasser-Micali, and ElGamal Cryptosystems Part I: RSA Encryption – Plain and OAEP RSA Algorithm Overview RSA remains one of the most widely used public-key cryptosystems. Understanding both its basic form and secure implementations is crucial for modern cryptography. Key Generation Process Choose two large primes: p and q (typically 1024+ […]

Read article : Public Key Cryptography Foundations

Mathematical Foundations and Basic Concepts of Cryptography

Basic Cryptographic Definitions Core Security Goals Confidentiality: information is accessible only to authorized parties Integrity: information hasn’t been altered by unauthorized parties Authenticity: information originates from claimed source Non-repudiation: sender cannot deny sending the message Threat Models: Passive adversary: Only observes communications (eavesdropper) Active adversary: Can modify, insert, or delete messages Adaptive adversary: Can change […]

Read article : Mathematical Foundations and Basic Concepts of Cryptography

Tensorflow Overview

TF1.x vs TF2.0 Pioneering lirary for building deep learning models, launch November 2015. Its free, open source, originally developed by Google. Other libraries: PyTorch – from FB, October 2016 TensorFlow 2.0 Major new version, September 2019 Dynamoic computation graphs Not backward compatible with TF1 Closer to PyTorch TF1.x vs TF2.0 vs PyTorch TF1.x PyTorch Computation […]

Read article : Tensorflow Overview

Machine Learning – Adversarial Sample Detection

Adversarial Examples Inputs generated by adversaries to fool neural networks. Two types: Semantic based perturbations Restricted area to manipulate pixels Modify a specific area of the image Simulate real world scenarios Pervasive Perturbations Full access to pixel alteration Modify the whole image Different distance metrics   Defense and Detections Adversarial detections – determine whether input […]

Read article : Machine Learning – Adversarial Sample Detection

Machine Learning – Adversarial Attacks

Below are various papers reviewed regarding security vulnerabilities and adversarial attacks against machine learning. 6thSense Intrusion Detection System (IDS) for smart devices This paper presents 6thSense, a novel intrusion detection system (IDS) designed to defend against sensor-based threats in smart devices, particularly Android smartphones. The framework uses context-aware models and machine learning techniques to detect […]

Read article : Machine Learning – Adversarial Attacks

Machine Learning – Black Box Attacks and Transferability

Adversary Knowledge White-box = adversary has complete knowledge of the targeted model, including its parameter values, architecture, training method and in some cases its training data Black-box = adversary has no knowledge about the ML model except input output samples of training data or input output pairings obtained using the target model as an oracle […]

Read article : Machine Learning – Black Box Attacks and Transferability

Model Evaluation – Regression

Model Evaluation Techniques This notebook will only deal with commonly used evaluation metrics for regression and classification. This list is not exhaustive, you are encouraged to look at the other metrics that can be used. References: (1) Scikit-Learn : https://scikit-learn.org/stable/modules/model_evaluation.html (2) https://github.com/maykulkarni/Machine-Learning-Notebooks Useful Resources : https://scikit-learn.org/stable/modules/model_evaluation.html https://scikit-learn.org/stable/modules/model_evaluation.html#mean-absolute-error In [1]: import numpy as np import matplotlib.pyplot as […]

Read article : Model Evaluation – Regression