Network-Intrusion-Detection
Network-Intrusion-Detection copied to clipboard
ValueError: could not convert string to float: 'dur' in
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!!
Check your input data, it must be 'float', instead of 'string'. it may be solved by one of the methods:
- Modify the argument in the 'iloc' method.
- Remove the headers of your csv file.