A Feature Learning Framework for Histology Images Classification