Hands-On Artificial Intelligence for Cybersecurity