Machine learning is becoming increasingly common in indoor cannabis grows, as cultivators use sophisticated sensors and cameras to maintain optimal growing conditions, sound the alarm about threats such as pests or disease and reduce labor costs associated with both menial and high-level cultivation tasks.