How can i normalize NSL kdd datasets in matlab?
Show older comments
hi everyone, I try to simulate a neural network MLP with the data NSLkdd with 23 types of attack of which 1 is a normal connection I could recover the data to convert them into numeric but when I simulate I had 0% accuracy so I am said maybe That I have to normalize the data then I search and I find a method it is Xi = xi-ximin / ximax-ximin so I don't know how to imply it since I am a beginner in matlab, if For each column or for any data any of you could enlighten me thank you
Answers (1)
Pengyi Liao
on 22 Jul 2020
0 votes
Hi, Meriemm, you can apply mapminmax function to implement the normalize the sataset in low.
For instance, if my dataset is CVdata, so I use:
CVdata=mapminmax(CVdata,0,1)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!