Optimizing Compliance Monitoring: A Data-Driven Approach