Machine Learning Using Python Byte Array Encoding And Decoding