如何在 jupyter notebook 中渲染 argmax 符号?

how to render argmax symbol in jupyter notebook?

我正在尝试重现来自 CMU Machine Learning lecture 的这个公式。

此代码

$\hat{\theta}^{MLE} =\argmax_{\theta} \operatorname {P}(D|\theta)=\dfrac{\alpha_1}{\alpha_1 + \alpha_0}$

生成这个

在 Jupyter notebook (Mathjax) 中

如何在 jupyter notebook 中正确呈现 argmax 符号?

使用\underset命令

<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_SVG-full" type="text/javascript"></script>


$$\hat{\theta}^{MLE} =\underset{\theta}{\operatorname{arg max}}{P}(D|\theta)=\dfrac{\alpha_1}{\alpha_1 + \alpha_0}$$

我平时用

$$ \arg\max_{\theta} $$