How to display mathematical equations in Jupyter Notebook

Did you know that Jupyter Notebook has built-in LaTeX support? I didn’t.

When you change the format of a cell to “Markdown,” you can write not only in the markdown syntax, which is obvious ;) but you can also include LaTeX code to generate formulas:

\begin{align*}
(a+b)^2 = a^2+2ab+b^2
\end{align*}

After pressing ENTER, this gets automatically converted to:

Awesome! ;)

Older post

Apriori algorithm explained

Using association rule learning to make recommendations

Newer post

How to interpret ROC curve and AUC metrics

In my opinion, AUC is a metric that is both easy to use and easy to misuse. Do you want to know why? Keep reading ;)

Are you looking for an experienced AI consultant? Do you need assistance with your RAG or Agentic Workflow?
Schedule a call, send me a message on LinkedIn. Schedule a call or send me a message on LinkedIn

>