10.9 Pattern Classification Accuracy
In addition to classification accuracy at individual attribute level, we may be also interested in pattern level accuracy.
Given a finite sample y of size n, we can estimate a pattern level accuracy (Iaconangelo, 2017) as in
ˆpαc=1nn∑i=1P(αi=αc|yi)I(ˆαi=αc|yi) The following code finds the pattern level accuracy for attribute profile 000:
Code
## [1] 0.8144