| |
Predicted
|
---|
| |
Benign
|
Cancer
|
---|
Actual
|
Benign
|
7
|
1
|
|
Cancer
|
2
|
6
|
- The random forest confusion matrix demonstrates that prostate biopsy cancer tumor samples can be distinguished from benign samples. The prediction accuracy was 81% and provides an estimate of how accurately new observations can be predicted using the random forest model (for example, whether a sample contains cancer tumor or is benign).