Machine learning to predict venous thrombosis in acutely ill medical patients