Balasaravanan·Nov 10, 2025why cossim not sinsim or tansimIn this blog, I want to discuss how cossim is derived
Balasaravanan·Jun 21, 2025Dual Formulation in SVMIn this blog, we’ll dive into the mathematics behind SVM optimization — focusing on how the optimal hyperplane is derived using…
Balasaravanan·Jun 10, 2025Why Not MSE for the Loss Function -Logistic Regression?As we all know, logistic regression is a probabilistic approach that uses the sigmoid activation function on the output. You might have…
Balasaravanan·Jun 1, 2025How Squared Gradients Amplify Overfitting — And Why Absolute Gradients Can Help Feature SelectionIn this blog, let’s walk through why we say Ridge Regression helps in avoiding overfitting, while LASSO Regression helps in eliminating…
Balasaravanan·May 21, 2025Why MAE Leads to Slower Optimization: A Mathematical PerspectiveWhen training machine learning models, the choice of loss function plays a critical role in determining how quickly and effectively the…
Balasaravanan·May 15, 2025Tangent Line Working in Gradient DescentAs we all know, convergence algorithms rely on tangent lines to move in the direction of the steepest descent, ultimately aiming to find…
Balasaravanan·Mar 10, 2025All you need to know about positional encoding and linear transformation in transformersIntroduction