To efficiently help those who are at risk of having a stroke, reliable models that can identify the people are required. One challenge for developing models is the imbalance in the data, where only a small part of the observations previously had a stroke. In this study, a method that combines SMOTE and RUS is compared against an algorithmic method. The hybrid method has more consistency in the results on different models, with the logistic regression performing best. In contrast, the algorithmic method produces the highest and lowest performing models. Overall, XGboost using the algorithmic method has the best performance.
För att kunna hjälpa de som ligger i riskzonen att få en stroke krävs det pålitliga modeller som kan identifiera personerna. En utmaning för att ta fram högpresterande modeller är obalansen i denna studies data, där en liten andel av observationerna i träningsdatat har fått en stroke. En hybridmetod med SMOTE och RUS jämförs med en algoritmisk metod för att hantera denna obalans. Hybridmetoden ger mer konstanta resultat mellan olika modeller och presterar bäst med logistisk regression. Med den algoritmiska metoden är prestationen mer varierande, med både de bästa och sämsta resultaten. I denna studie hanterar XGboost med den algoritmiska metoden obalansen bäst.