SuperCowPowers / zat

Zeek Analysis Tools (ZAT): Processing and analysis of Zeek network data with Pandas, scikit-learn, Kafka and Spark
MIT License
423 stars 107 forks source link

Demo file has errors #137

Closed DAYceng closed 2 years ago

DAYceng commented 2 years ago

Hi,I found an error while running the demo routine under the notebook folder The error is in this file:zat/notebooks/Anomaly_Detection.ipynb

at In[28] # Distribution of the request body length Zeek_df[['request_body_len']].hist() print('\nFor this small demo dataset almost all request_body_len are 0\nCluster 2 represents outliers') Among them, 'Zeek_df' should be changed to 'zeek_df', consistent with the previous definition, otherwise an error will be reported

brifordwylie commented 2 years ago

Ah, thanks. I've fixed the notebook and pushed to main branch