A Guide to Constraining Effective Field Theories with Machine Learning