REGULATIONS FOR MACHINE LEARNING: A STRUCTURE FOR PROTECTION