Brain tumour segmentation using memory based learning method