From cbcf115a0e0d1b5d0ffb228a92faeab6b3dd7040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Windsperger?= Date: Sat, 5 Jun 2021 15:13:27 +0200 Subject: [PATCH] Add run script --- competition/requirements.txt | 15 +++++++++++++++ competition/run.sh | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 competition/requirements.txt create mode 100644 competition/run.sh diff --git a/competition/requirements.txt b/competition/requirements.txt new file mode 100644 index 0000000..c47afe9 --- /dev/null +++ b/competition/requirements.txt @@ -0,0 +1,15 @@ +cycler==0.10.0 +joblib==1.0.1 +kiwisolver==1.3.1 +matplotlib==3.4.1 +numpy==1.20.2 +pandas==1.2.4 +Pillow==8.2.0 +pyparsing==2.4.7 +python-dateutil==2.8.1 +pytz==2021.1 +scikit-learn==0.24.2 +scipy==1.6.3 +six==1.16.0 +sklearn==0.0 +threadpoolctl==2.1.0 diff --git a/competition/run.sh b/competition/run.sh new file mode 100644 index 0000000..7b72258 --- /dev/null +++ b/competition/run.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +pcapSource=$1 +echo "Pcap source file: $pcapSource" + +goFlows=go-flows + +$goFlows run features 4tuple_bidi.json export csv input.csv source libpcap $pcapSource + +pip install -r requirements.txt +python classifier.py \ No newline at end of file