New cloud-based machine learning tools offer programmatic approach to security