Please how can i get proper table borders of table shown below. please see my code
\documentclass[journal]{IEEEtran}
\usepackage{multirow}
\usepackage{array}
\usepackage{tabu}
\usepackage{multicol,graphicx}
\usepackage{makecell}
\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>
{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\begin{document}
\begin{table*}
\renewcommand{\arraystretch}{1.3}
\caption{Extreme Learning Machine(ELM) with kernel classifier having reduced dimension of feature vectors individual accuracy}
\begin{tabular}{|l|l|C{0.5cm}|L{2cm}|l|l|l|l|} \hline
Algorithm & Dimension & \multirow{ 6}{*}{\rotatebox{90}{\thead{ADD THESE\\ DIMENSIONS}}} & Total after Adding Dimensions &Classifier &\multirow{1}{*}{\thead{ Dimension\\Reduction Technique}} &\multirow{1}{*}{\thead{ Reduced\\Dimension}}&Accuracy \\ \cline{1-2} \cline{4-8}
CDF & 4D & & &ELM & \multirow{5}{*}{\thead{Correlation as Dimension\\ Estimator, PCA as \\ Dimension Reduction}} &\multirow{5}{*}{\thead{26 dimensions \\ reduced to\\ 4 dimensions}} &\multirow{5}{*}{\thead{Combine accuracy\\ of 4\\ dimensional reduced\\ Feature Vector\\ is 68\%}} \\ \cline{1-2} \cline{5-5}\cline{5-5}
GO & 4D & &\multirow{3}{*}{\thead{4D + 4D + 4D \\ + 7D + 7D= 26D}} &ELM\\ \cline{1-2} \cline{5-5}
Bilateral & 4D & & &ELM \\ \cline{1-2} \cline{5-5}
SLDFFO & 7D & & &ELM\\ \cline{1-2} \cline{5-5}
SSGSM & 7D & & &ELM\\ \hline
\end{tabular}
\end{table*}
\end{document}
Best Answer
missed vertical lines have nothing with use of
multirow
. there are missing ampersands. consequences are missing vertical lines.note, each rows had to have the one less ampersands as are number of columns
it is sufficient in preamble lead each package only ones
{|l|l|C{0.5cm}|L{2cm}|l|l|l|l|}
to{|l|l|c|C{2.5cm}|c |C{2.5cm}|C{2cm}|C{2.5cm}|}
and exploit capability of recentmultirow
package, except one all\thead
s can be removed in table body as well in column headersmultirow
all cells containing one line text become equal heightrevised table is: