I got this formula:
$$ \hat{p} = h_{\theta}(x) = \sigma(\theta^T x) $$
which gives me this:
But I would like to have some of these variables fat, basically like this:
$$ hat{p} = h_{**\theta**}(x) = \sigma(**\theta**^T**x**) $$
I have tried to nest it with \fat{} but that did not work.
Is it possible to fatten single variables in a formula?

\bm{\theta}(needs\usepackage{bm}). – Henri Menke Mar 05 '22 at 20:19\[ … \]preferable to$$? – Henri Menke Mar 05 '22 at 20:20