Machine Learning for Authorship Attribution and Cyber Forensics