There are two branches regarding to different tasks.
For task Discrete model and PCA please go to MarkovChain_PCA.ipynb
Task 1 & 2:
Task 3: Botnet flow data discretization task .ipynb
Task4 : Task4.ipynb
Dataset for task 1 and 2 is capture20110818.pcap.netflow.labeled.zip. You may need to uncompressed it before running the code.
Dataset for task 3 and 4 is availabel in: https://mcfp.felk.cvut.cz/publicDatasets/CTU-Malware-Capture-Botnet-51/