An intelligent learning system based on electronic health records for unbiased stroke prediction