Skip to main content

Table 1 Confusion matrix

From: SIAP: an intelligent algorithm for multiple prescription pattern recognition based on weighted similarity distances

Manually marked formula names

Formula name recognized by the algorithm

Consistent with manual making

Inconsistent with manual marking

Recognized by the algorithm correctly

\({f}_{11}=\sum\limits_{n=1}^{N}\left|A\cap B\right|\)

\({f}_{12}=\sum\limits_{n=1}^{N}\left|B-\left(A\cap B\right)\right|\)

Not recognized by the algorithm

\({f}_{21}=\sum\limits_{n=1}^{N}\left|A-\left(A\cap B\right)\right|\)

-

  1. Note: n represents the sample number, N represents the sample size, A is the set of manually marked formula names, and B is the set of algorithm-identified formula names