Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anomaly Training error #6

Closed
SandeepaDevin opened this issue Mar 8, 2022 · 0 comments
Closed

Anomaly Training error #6

SandeepaDevin opened this issue Mar 8, 2022 · 0 comments

Comments

@SandeepaDevin
Copy link

I've created a csv file from active wiretap pcap and trying to use it on this code.

My input data has seven fields and look like this

Reading Sample dataset...
[[0.0 0 '192.168.2.13' '192.168.100.5' '51010' '56514' 209]
[0.000773 0 '192.168.2.13' '192.168.100.5' '51010' '56514' 1514]
[0.000905 0 '192.168.2.13' '192.168.100.5' '51010' '56514' 1514]
[0.001122 0 '192.168.2.13' '192.168.100.5' '51010' '56514' 1514]
[0.001247 0 '192.168.2.13' '192.168.100.5' '51010' '56514' 1514]]

Fields =[ 'Time', 'IP_Version', 'IP_Source', 'IP_Dest', 'Source_PORT', 'Dest_PORT', 'payload' ]

But when I run the code here in kitnet it gives me the error

TypeError: ufunc 'add' output (typecode 'O') could not be coerced to provided output parameter (typecode 'd') according to the casting rule ''same_kind''

But all data in each column has same type and time represent in float while ip version and payload are integers as used in original kitsune. Would like to know what causes this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant