Text this: Analysis of early stroke diagnosis based on brain magnetic resonance imaging using machine learning