vinayakumarr / Network-Intrusion-Detection

Network Intrusion Detection KDDCup '99', NSL-KDD and UNSW-NB15
677 stars 239 forks source link

ValueError: could not convert string to float: 'dur' in #18

Open liheyong opened 3 years ago

liheyong commented 3 years ago

dear author

when i run this code arise an error: ValueError: could not convert string to float: 'dur' in scaler = Normalizer().fit(X) Is there any solution??

thanks!!

PrivateALun commented 2 years ago

Check your input data, it must be 'float', instead of 'string'. it may be solved by one of the methods: