# Breast Cancer Classification Using an Adapted Bump-Hunting Algorithm
## 3 PRIM-Based Framework for Breast Cancer Classification and Explanation
### Illustrative Example of the PRIM-Based Classification Framework

Table 1: Rules constructed by the modified version of PRIM for “Class = 1” and “Class = 0” with their corresponding coverage, density, support, and the dimension of each rule. \begin{table}
\begin{tabular}{l c c c c c} \hline \hline
**Rules for Class = 1** & **Coverage** & **Density** & **Dimension** & **Support** \\ \hline
**R27:** 4.0 \(<\) Pregnancies \(<\) 17.0 AND 0.0 \(<\) BloodPressure \(<\) 80.0 & & 0.06 & 0.27 & 3 & 0.07 \\ AND 0.0 \(<\) SkinThickness \(<\) 24.0 & & 0.06 & 0.27 & 3 & 0.07 \\
**R28:** 3.0 \(<\) Pregnancies \(<\) 17.0 AND 0.0 \(<\) SkinThickness \(<\) 33.0 & 0.03 & 0.14 & 2 & 0.07 \\
**R29:** 0.0 \(<\) BloodPressure \(<\) 86.0 AND 23.15 \(<\) BMI \(<\) 29.5 & 0.03 & 0.09 & 2 & 0.12 \\
**R30:** 28.1 \(<\) BMI \(<\) 67.1 AND 0.20 \(<\) DiabetesPedigreeFunction \(<\) & 0.5 & 0.62 & 3 & 0.27 \\
2.42 AND 31.0 \(<\) Age \(<\) 60.0 & & & & \\
**R31**: 29.0 \(<\) Insulin \(<\) 846.0 AND 26.1 \(<\) BMI \(<\) 67.1 AND 0.1275 \(<\) & 0.1 & 0.49 & 4 & 0.07 \\ DiabetesPedigreeFunction \(<\) 2.42 AND 28.0 \(<\) Age \(<\) 53.0 & & & & \\
**R32**: 26.9 \(<\) BMI \(<\) 67.1 AND 0.1265 \(<\) & DiabetesPedigreeFunction \(<\) 2.42 AND 25.0 \(<\) Age \(<\) 62.0 & 0.21 & 0.36 & 3 & 0.20 \\
**R33**: 0.0 \(<\) Insulin \(<\) 194.0 AND 22.79 \(<\) BMI \(<\) 67.1 AND 0.1195 \(<\) & 0.11 & 0.22 & 4 & 0.17 \\ DiabetesPedigreeFunction \(<\) 0.817 AND 23.0 \(<\) Age \(<\) 81.0 & & & & \\
**R34**: 22.0 \(<\) Age \(<\) 54.0 & & 0.059 & 0.11 & 1 & 0.18 \\
**R35**: 24.75 \(<\) BMI \(<\) 67.1 & & 0.018 & 0.11 & 1 & 0.05 \\
**R36**: 30.85 \(<\) BMI \(<\) 67.1 & & 0.74 & 0.46 & 1 & 0.56 \\
**R37**: 23.25 \(<\) BMI \(<\) 67.1 & & 0.24 & 0.24 & 1 & 0.34 \\
**R38**: 0.0 \(<\) BMI \(<\) 23.05 & & 0.01 & 0.04 & 1 & 0.08 \\
**R39**: 7.0 \(<\) Pregnancies \(<\) 12.0 AND 110.0 \(<\) Insulin \(<\) 846.0 AND & & & & \\
0.128 \(<\) DiabetesPedigreeFunction \(<\) 2.42 & & 0.12 & 0.82 & 3 & 0.05 \\
**R40**: 0.3235 \(<\) DiabetesPedigreeFunction \(<\) 2.42 & & 0.56 & 0.37 & 1 & 0.52 \\
**R41**: 7.0 \(<\) Pregnancies \(<\) 12.0 AND 64.0 \(<\) BloodPressure \(<\) 122.0 & 0.067 & 0.43 & 3 & 0.05 \\ AND 0.1215 \(<\) DiabetesPedigreeFunction \(<\) 0.2825 & & 0.20 & 0.25 & 1 & 0.27 \\
**R42**: 0.0 \(<\) Insulin \(<\) 140.0 AND 0.086 \(<\) & 0.03 & 0.16 & 2 & 0.07 \\ DiabetesPedigreeFunction \(<\) 2.42 & & 0.14 & 0.88 & 3 & 0.06 \\
**R45**: 134.0 \(<\) Glucose \(<\) 199.0 AND 0.0 \(<\) Insulin \(<\) 478.0 & 0.40 & 0.59 & 2 & 0.23 \\
**R46**: 109.0 \(<\) Glucose \(<\) 199.0 & 0.31 & 0.34 & 1 & 0.31 \\
**R47**: 7.0 \(<\) Pregnancies \(<\) 17.0 AND 84.0 \(<\) Glucose \(<\) 199.0 & 0.05 & 0.4 & 2 & 0.05 \\
**R48**: 0.0 \(<\) Pregnancies \(<\) 3.0 AND 78.0 \(<\) Glucose \(<\) 199.0 AND & & & & \\
36.0 \(<\) Insulin \(<\) 846.0 & 0.04 & 0.11 & 3 & 0.13 \\
**R49**: 4.0 \(<\) Pregnancies \(<\) 6.0 AND 0.0 \(<\) Glucose \(<\) 104.0 AND 0.0 & & & & \\
**R50**: 0.0 \(<\) Pregnancies \(<\) 2.0 AND 90.0 \(<\) Glucose \(<\) 199.0 AND & & & & \\
0.0 \(<\) Insulin \(<\) 15.0 & & 0.01 & 0.09 & 3 & 0.05 \\
**R51**: 28.1 \(<\) BMI \(<\) 67.1 AND 0.20 \(<\) DiabetesPedigreeFunction \(<\) & 0.5 & 0.62 & 3 & 0.27 \\
2.42 AND 31.0 \(<\) Age \(<\) 60.0 & & & & & \\
**R52**: 26.70 \(<\) BMI \(<\) 35.45 AND 0.1275 \(<\) & & & & \\ DiabetesPedigreeFunction \(<\) 2.42 AND 30.0 \(<\) Age \(<\) 53.0 & & & & \\
**R53**: 29.95 \(<\) BMI \(<\) 67.1 AND 0.1265 \(<\) & & & & \\ DiabetesPedigreeFunction \(<\) 2.42 AND 25.0 \(<\) Age \(<\) 81.0 & & & & \\
**R54**: 23.35 \(<\) BMI \(<\) 67.1 AND 0.1275 \(<\) & & & & \\ DiabetesPedigreeFunction \(<\) 0.6535 AND 28.0 \(<\) Age \(<\) 61.0 & & & & \\
**R55**: 0.1195 \(<\) DiabetesPedigreeFunction \(<\) 2.42 AND 22.0 \(<\) Age \(<\) 60.0 & & & & \\
0.12 \(<\) Age \(<\) Age \(<\) 62.0 & & 0.12 & 0.14 & 2 & 0.29 \\
**R56**: 27.85 \(<\) BMI \(<\) 67.1 AND 21.0 \(<\) Age \(<\) 62.0 & & & & \\ \hline \hline \end{tabular}
\end{table}