The best way/instruments to use a communication protocol messages in hex form as input parameter for machine/deep learning (n-grams?)

I am trying to categorize server software versions based on server responses to various slightly different hex messages. To extract the ML input parameters from these hex messages I suppose to use the n-grams method.

Can you please advise on some other methods that can be used to identify ML input parameters from hex messages? Of course, I can do it manually but probably exists an automated solution.

What tools/libraries better to use to apply the n-grams method to communication protocol messages in hex form?

Topic text-classification ngrams classification

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.