Artificial intelligence in the service of the cannabis industry