Hinzufügen von 3 mehrspaltigen Spalten in einer Tabelle

Hinzufügen von 3 mehrspaltigen Spalten in einer Tabelle

Ich habe diesen Code schon einmal gepostet. Ich möchte jetzt zwei mehrspaltige Spalten verkehrt herum zur gleichen Tabelle hinzufügen, so wie ich das Tabellenbild vor und nach der Tabelle markiert habe, um meinen Standpunkt klarzumachenVor verschachtelten/umgedrehten Mehrspalten

Nach dem Hinzufügen verschachtelter/umgedrehter Mehrspalten (ich muss dort, wo ich diese schwarzen Kästchen zeichne, Mehrspalten hinzufügen) Hier ist mein Code für Bild Nr. 1, das ich gepostet habe

\documentclass[journal]{IEEEtran}

\usepackage{multicol}

\usepackage{multirow}

\begin{Tabelle*}

\settowidth\rotheadsize{DIMENSIONS}

\renewcommand\multirowsetup{\centering}

\renewcommand{\arraystretch}{1.5}

    \centering

\caption{Extreme Learning Machine(ELM) with kernel classifier accuracy of 

combine reduced feature vectors whose individual classifier accuracy was low}

    \begin{tabular}{|l|l| c |C{2.5cm}| c |C{2.5cm}|C{2cm}|C{2.5cm}|}

    \hline 

Algorithm

    & Dimension

        &  \multirow{6}{*}{\rothead{ADD THESE\\ DIMENSIONS}}

            & Total after Adding Dimensions

                & Classifier

                    & Dimension Reduction Technique

                        & Reduced Dimension

                            & Accuracy  \\ 

    \cline{1-2} \cline{4-8}

LBP & 4D    &

                & \multirow{5}{=}{4D + 6D + 4D\\ + 3D + 4D = 21D}

                    & ELM

                        & \multirow{5}{=}{Eigenvalue as Dimension Estimator,

                                          PCA as Dimension Reduction}
                            & \multirow{5}{=}{21 dimensions reduced to 

dimensions}
                                & \multirow{5}{=}{Combine accuracy of 9 
dimensional
                                                  reduced Feature Vector is 
again 80\%}    \\

    \cline{1-2} \cline{5-5}

RGLBP         & 6D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

BDIP   & 4D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

HOG      & 3D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

Combine and reduced     & 4D    &   &   & ELM   &   &   &    \\ 

 fv of poor individual  &       &   &   &       &   &   &  \\ 

  accuracy algorithms   &       &   &   &       &   &   & \\  

    \hline

\end{tabular}

\label{table:table6}

\end{table*}

Antwort1

da Sie kein kompilierbares MWE anbieten, verwende ichmeine Antwortzu Ihrer vorherigen ähnlichen Frage, um das Prinzip zu zeigen, wie man eine Zelle mit mehreren Absätzen und mehreren Zeilen erstellt. Darin können „Absätze“ (nur) mit einem Befehl voneinander getrennt werden . Für einen kleinen vertikalen Abstand zwischen ihnen scheint eine Anzeige vor `\newline die geeignete Maßnahme \newlinezu sein :\smallskip

\multirow{5}{=}{Correlation as Dimension Estimator,
                PCA as Dimension Reduction\smallskip\newline                                        
                Add Multicol here\smallskip\newline  
                Add Multicol here
                }

dies sollte einfach zu verwenden/in Ihre Tabelle einzufügen sein, für mich lautet der vollständige MWE:

\documentclass[journal]{IEEEtran}
%\usepackage{array} % loaded twice
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{rotating}% added, for rothead
\usepackage{array, makecell, multirow, tabu}{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}% in this table is better use this definition

\begin{document}
    \begin{table*}
\settowidth\rotheadsize{DIMENSIONS}
\renewcommand\multirowsetup{\centering}
\renewcommand{\arraystretch}{1.5}
    \centering
\caption{Extreme Learning Machine(ELM) with kernel classifier having reduced dimension of feature vectors individual accuracy}
    \begin{tabular}{|l|l|c|C{2.5cm}|c|C{2.5cm}|C{2cm}|C{2.5cm}|}
    \hline
Algorithm
    & Dimension
        &  \multirow{6}{*}{\rothead{ADD THESE\\ DIMENSIONS}}
            & Total after Adding Dimensions
                & Classifier
                    & Dimension Reduction Technique
                        & Reduced Dimension
                            & Accuracy  \\
    \cline{1-2} \cline{4-8}
CDF & 4D    &
                & \multirow{5}{=}{4D + 4D + 4D\\ + 7D + 7D = 26D}
                    & ELM
                        & \multirow{5}{=}{Correlation as Dimension Estimator,
                                          PCA as Dimension Reduction\smallskip\newline
                                          Add Multicol here\smallskip\newline
                                          Add Multicol here
                                          }
                            & \multirow{5}{=}{26 dimensions reduced to 4 dimensions}
                                & \multirow{5}{=}{Combine accuracy of 4 dimensional
                                                  reduced Feature Vector is 68\%\smallskip\newline
                                                  Add Multicol here\smallskip\newline
                                                  Add Multicol here
                                                  }    \\
    \cline{1-2} \cline{5-5}
GO          & 4D    &   &   & 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}

Das Ergebnis ist:

Bildbeschreibung hier eingeben

verwandte Informationen