I have the following code:
\documentclass[preprint,12pt]{elsarticle}
\usepackage{amssymb}
\usepackage{lineno}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\usepackage{mathtools}
\usepackage{multicol}
\usepackage{wrapfig}
\begin{document}
\begin{table}[H!]
\begin{center}
\caption{Blah blah blah}
\begin{tabular}{|c|c|c|c|}
\hline
& Training & Validation & Testing \\
\hline
Normal & 9727 & 194 & 605\\
\hline
Dos & 3128 & 782 & 2298\\
\hline
Prob & 320 & 82 & 41\\
\hline
R2L & 4 & 1 & 7\\
\hline
U2R & 5 & 7 &4 \\
\hline
\end{tabular}
\end{center}
\end{table}
\end{document}
And I keep getting the following error:
Runaway argument?
{table}[H!] \begin {center} \caption {Dataset size used in experiment\ETC.
Paragraph ended before \@float@HH was complete.
<to be read again>
\par
l.298
Any ideas? I seem to be missing the point.
\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Mike Renfro May 13 '15 at 17:52[H!]isn't a standard placement. Perhaps the example you started from uses an additional package like float. – Mike Renfro May 13 '15 at 17:54\caption– touhami May 13 '15 at 17:54