Data-driven Automated Maintenance