Batea: AI-based, context-driven network device ranking