You have to load multirowand rotating for that . The makecell package will also be useful, as it allows for line breaks and common formatting in standard cells. Furthermore, you can define some vertical padding to cells with the \setcellgapes command.
\documentclass[10pt]{article}
\usepackage{array, rotating}
\usepackage{multirow, makecell}
\usepackage[a4paper, total={8in, 10in}]{geometry}
\begin{document}
\begin{table}[]
\centering\sffamily
\renewcommand{\theadfont}{\normalsize\bfseries}
\setcellgapes{1ex}\makegapedcells
\begin{tabular}{*{6}{c|}c}
\hline
\multirowthead{2}{Dataset} & \multirowthead{2}{Model} & \multicolumn{4}{c|}{\bfseries Evaluation criteria} & \multirowthead{2}{Rank} \\
\cline{3-6}
& & \textbf{RMSE} & \textbf{MAPE} & \textbf{MAE} & \textbf{R} & \\
\hline
\multirow{6}{*}{\turnbox{90}{(A)}} & Proposed & & & & & \\
\cline{2-7}
& FN & & & & & \\
\cline{2-7}
& NN & & & & & \\
\cline{2-7}
& RX & & & & & \\
\hline
\multirow{6}{*}{\turnbox{90}{(B)}} & Proposed & & & & & \\
\cline{2-7}
& FN & & & & & \\
\cline{2-7}
& NN & & & & & \\
\cline{2-7}
& RX & & & & & \\
\hline
\multirow{6}{*}{\turnbox{90}{(C)}} & Proposed & & & & & \\
\cline{2-7}
& FN & & & & & \\
\cline{2-7}
& NN & & & & & \\
\cline{2-7}
& ARX & & & & & \\
\hline
\multirow{6}{*}{\turnbox{90}{(D)}} & Proposed & & & & & \\
\cline{2-7}
& FFN & & & & & \\
\cline{2-7}
& LNN & & & & & \\
\cline{2-7}
& ARX & & & & & \\
\hline
\end{tabular}
\end{table}
\end{document}
