Machine learning is a great tool for cybersecurity, but be cautious, expert says