Machine Learning Using Python Bytearray