I have followed the code from this answer, https://tex.stackexchange.com/a/211540/237717. The equations below are to be aligned at '=' signs but the alignment is not properly done. I need some help with my code. Thanks in advance!
\begin{align*}
$< f,g >${\mathcal{H}_K} &= \Sigma{i=1}^n \Sigma_{j=1}^n \alpha_i \alpha_j < K(x, x_i), K(x,x_j)>_{\mathcal{H}_K} \
&= \Sigma_{i} \Sigma_{j} \alpha_i \alpha_j K(x_i, x_j) \\
&= \alpha^T K \alpha
\end{align*}
Current output:


<>here use\langle\ranglethey have the proper spacing.<>are relation symbols and thus give the wrong spacing here – daleif Apr 08 '21 at 06:11