Pre processing the NSL-KDD dataset for RNNs

Hey guys is anyone able to help me out ? I am currently in my final year of university and for my final year project I am using recurrent neural networks within an IDS using the NSL-KDD dataset. If anyone has code on how to pre process the dataset and how you would implement the RNN into it as well, I will also be comparing this model against support vector machine for accuracy and false positive rate. I am a complete newbie to python and machine learning so any advice would be a huge help

Thank you,
Ross