On representation based pattern classification models