-
Notifications
You must be signed in to change notification settings - Fork 22
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
executing the code #6
Comments
I encountered the same issue. "as_matrix" seems to be deprecated. Try this in main: #train = train.as_matrix(columns=headers.training_headers)
#test = test.as_matrix(columns=headers.training_headers)
train = train.reindex(columns=headers.training_headers).to_numpy()
test = test.reindex(columns=headers.training_headers).to_numpy()
x_test, y_test = timestamped_to_vector(test, vector_col=v, time_start=0, classification_col=c)
x_train, y_train = timestamped_to_vector(train, vector_col=v, time_start=0, classification_col=c) |
hello thanks for the reply, i am having the same issue after replacing by |
change the header.py line N, 'malcious' to 'malware' may kill this issue. |
i got a copy of the dataset from the email however when executing the script i get the following error
Traceback (most recent call last):
File "main.py", line 22, in
x_test, y_test = timestamped_to_vector(test, vector_col=v, time_start=0, classification_col=c)
File "C:\Users\MT\Google Drive\Dissertation\malware\malware-prediction-rnn\experiments\useful.py", line 130, in timestamped_to_vector
assert int(input_row[classification_col]) in [0,1]
ValueError: cannot convert float NaN to integer
i tried to put a validation if not Nan to continue then the errors keep geting worst
i am using python 3.5.4
can you confirm this is the latest version
The text was updated successfully, but these errors were encountered: