Visualize netflows using t-SNE
Prepare you netflows in the form of CSV having the following columns
StartTime,Dur,Proto,SrcAddr,Sport,Dir,DstAddr,Dport,State,sTos,dTos,TotPkts,TotBytes,SrcBytes,Label
If you don't have labels put any thing as last column like NA
or OTHER
or None
You can use any file that have the above format like
python flowvis.py [pca|tsne] [id|tanh|range|std] inputfile.csv
we recommend using tsne
and tanh
(other methods are used for comparison)
python flowvis.py tsne tanh inputfile.csv
this would output resulted images and data.js
which can be viewed using flowvis.html