Hi there if any one can help. i want to add equations in latex. My equations are in fraction like precision= T_P/ T-P +f_n and so on in next line i have precision= T_P/ T-P +f_n and son but when I compiled my code in pdf it gives me something which is so wrong if any one can help. I want my equations as define in this image 
Here is my code
\documentclass{article}
\usepackage[utf8]{inputenc}
\title{equation}
\begin{document}
\maketitle
\section{Introduction}
\begin{align*}
Precision =\frac{T_p}{T_p + f_p} \ \%
%%\end{align}
%%
Recall =\frac{T_p}{T_p + f_n} \
%%
Accuracy = \frac{T_p + T_n}{T_p + f_n+ f_p +T_n}
%%
\end{align}
\end{document}

Precisionshould be marked as\mathrm{Precision }– David Carlisle Jan 27 '21 at 19:08\usepackage{amsmath}in your preamble – TVL Jan 27 '21 at 19:10