Here is my table. I would like to fit its width so it will fit my rest of paper alignment. Maybe there is a need to transfer the headline into 2 rows or any other way to fit the rest of text width.
\documentclass{article}
\usepackage{float}
\usepackage{showframe}
\begin{document}
\begin{abstract}
zzz
\end{abstract}
\section{Introduction}
This is my table that its width is too big:
\begin{table}[H]
\centering
\begin{tabular}{||c c c c c ||}
\hline
ID & UCI Dataset Name & No. of samples & No. of attributes & No. of classes \\ [0.5ex]
\hline\hline
DS1 & Cardiotocography & 2126 & 23 & 3 \\
\hline
DS2 & Wall-Following Robot Navigation Data & 5456 & 24 & 4 \\
\hline
DS3 & Spambase & 4601 & 57 & 2 \\
\hline
DS4 & MAGIC Gamma Telescope & 19020 & 11 & 2 \\
\hline
DS5 & Letter Recognition & 20000 & 16 & 26 \\
\hline
DS6 & MiniBooNE particle identification & 130065 & 50 & 2 \\ [1ex]
\hline
\end{tabular}
\caption{Datasets used for empirical evaluation}
\label{table:1}
\end{table}
\end{document}



\documentclass{...}and ending with\end{document}with all necessary packages in preamble, which are needed for work of your code snipped. – Zarko Jan 21 '16 at 17:13showframesto show OP, what margins has is default with\documentclass{article}. I'm sure, that real margins are smaller, however, he doesn't provide any information about this. – Zarko Jan 21 '16 at 19:13