Data Science, Machine Learning, Analytics, Visualization, Statistics.
re-aligning the principal axis in a way that maximizes the variance. This condition is included using a Lagrange multiplier If we differentiate the above expression, we get — Take a look at the last expression. Covariance matrix multiplied by w is equal to a scalar alpha multiplied by w. This