| Algorithm 1 Collaborative representation based classifier. | ||
| 1: | Normalize to have norm | |
| 2: | Calculate the collaborative representation coefficients vector using | |
| 3: | Calculate the the residuals between test sample and the representation of each class using formulation and obtain the identity of using Equation (3): | |