-
Notifications
You must be signed in to change notification settings - Fork 197
Description
this error is only happening when running slips using the latest zeek version
cmd:
./slips.py -e 1 -f dataset/test7-malicious.pcap -o alia
Slips Version: 1.1.5 (068c623)
zeek version 7.1.0
error:
[Flow ML Detection] Traceback (most recent call last):
File "/home/alya/Desktop/StratosphereLinuxIPS/modules/flowmldetection/flowmldetection.py", line 325, in detect
x_flow: numpy.ndarray = self.scaler.transform(x_flow)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alya/Desktop/StratosphereLinuxIPS/venv/lib/python3.12/site-packages/sklearn/utils/_set_output.py", line 313, in wrapped
data_to_wrap = f(self, X, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alya/Desktop/StratosphereLinuxIPS/venv/lib/python3.12/site-packages/sklearn/preprocessing/_data.py", line 1045, in transform
X = self._validate_data(
^^^^^^^^^^^^^^^^^^^^
File "/home/alya/Desktop/StratosphereLinuxIPS/venv/lib/python3.12/site-packages/sklearn/base.py", line 633, in _validate_data
out = check_array(X, input_name="X", **check_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alya/Desktop/StratosphereLinuxIPS/venv/lib/python3.12/site-packages/sklearn/utils/validation.py", line 1012, in check_array
array = _asarray_with_order(array, order=order, dtype=dtype, xp=xp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alya/Desktop/StratosphereLinuxIPS/venv/lib/python3.12/site-packages/sklearn/utils/_array_api.py", line 751, in _asarray_with_order
array = numpy.asarray(array, order=order, dtype=dtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alya/Desktop/StratosphereLinuxIPS/venv/lib/python3.12/site-packages/pandas/core/generic.py", line 2153, in array
arr = np.asarray(values, dtype=dtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'unknown_transport'
Metadata
Metadata
Assignees
Labels
Type
Projects
Status