Comparative evaluation for detection of brain tumor using machine learning algorithms