我的 latex 文档中有一些图片。但部分文本紧跟在图片的子部分之后。我希望我的文本位于所有图片之后。我查看了其他答案,它们建议使用\newpage
或,\clearpage
但这不是我想要的。例如,这是它现在的样子的屏幕截图 -
我想让红色突出显示的文本位于所有图像之后。我该怎么做?LaTeX 代码如下所示 -
\subsection{Confusion Matrices}
\begin{figure}[h!]
\centering
\subfloat[\centering Uniflow Decision Tree]{{\includegraphics[width=2cm]{uni_decisiontree.png} }}%
\qquad
\subfloat[\centering Uniflow KNN]{{\includegraphics[width=2cm]{uni_knn.png} }}%
\label{fig:example}%
\end{figure}
\begin{figure}[h!]
\centering
\subfloat[\centering Uniflow Linear]{{\includegraphics[width=2cm]{uni_linear.png} }}%
\qquad
\subfloat[\centering Uniflow Naive]{{\includegraphics[width=2cm]{uni_naive.png} }}%
\label{fig:example}%
\end{figure}
\begin{figure}[h!]
\centering
\subfloat[\centering Uniflow Perceptron]{{\includegraphics[width=2cm]{uni_pcp.png} }}%
\qquad
\subfloat[\centering Uniflow Random Forest]{{\includegraphics[width=2cm]{uni_random_forest.png} }}%
\label{fig:example}%
\end{figure}
\begin{figure}[h!]
\centering
\subfloat[\centering Biflow Decision Tree]{{\includegraphics[width=2cm]{bi_decision_tree.png} }}%
\qquad
\subfloat[\centering Biflow KNN]{{\includegraphics[width=2cm]{bi_KNN.png} }}%
\label{fig:example}%
\end{figure}
\begin{figure}[h!]
\centering
\subfloat[\centering Biflow Linear]{{\includegraphics[width=2cm]{bi_linear.png} }}%
\qquad
\subfloat[\centering Biflow Naive]{{\includegraphics[width=2cm]{bi_naive.png} }}%
\label{fig:example}%
\end{figure}
\begin{figure}[h!]
\centering
\subfloat[\centering Biflow Perceptron]{{\includegraphics[width=2cm]{bi_pcp.png} }}%
\qquad
\subfloat[\centering Biflow Random Forest]{{\includegraphics[width=2cm]{bi_random_forest.png} }}%
\label{fig:example}%
\end{figure}
Finally, we use various metrics to evaluate the performance of different machine learning models. The different metrics that we use are -
\[ Precision = TP /(TP + FP) \]
\[ Recall = TP /(TP + FN) \]
\[ F1-Score = (2*TP) /(2*TP + FP + FN) \]
\[ Accuracy = (TP + TN) /(P + N) \] \paragraph{}