Detection and classification of brain tumor using machine learning approaches