Commit 4fa1f1b4 authored by cif2cif's avatar cif2cif
Browse files

Limpiados datasets y actualizado README

parent 2f9d100b
......@@ -12,6 +12,7 @@ Please, refer to every module for its installation, configuration and execution.
The directory `data` contains the result of the execution of the three modules when the simulation has been set to an `attackPercentageValue` of 0, 10, 20 and 30.
It is organized as follows:
- normal/ (0 attack)
- normal2/ (0 attacks)
+ demo_0.hdf5 (generated by simulator)
+ house_N.pkl (one file for each house generated by data-preprocessing, with N in 0..37)
- anomaly_20_2, anomaly_30_2, files with attacks.
......@@ -19,8 +19,8 @@ DO_TRAINING = False
DATA_DIR_PATH = '../data'
MODEL_DIR_PATH = './models'
NORMAL_DATA_PATH = '/normal2/houses_concatenated.pkl'
#NORMAL_DATA_PATH = '/normal/houses_concatenated.pkl'
ATTACK_DATA_PATH = '/anomaly_20_2/house_0.pkl'
ATTACK_DATA_PATH = '/anomaly_30_2/house_0.pkl'
#ATTACK_DATA_PATH = '/anomaly_20/labels_df/houses_concatenated.pkl'
OUTPUT_FILE = 'predicted_labels.csv'
......
......@@ -39,10 +39,7 @@
0
0
0
1
1
0
1
0
0
0
......@@ -78,9 +75,13 @@
0
0
0
1
1
1
0
0
0
0
0
0
0
1
1
1
......@@ -1827,6 +1828,7 @@
0
0
0
0
1
1
1
......@@ -1889,46 +1891,39 @@
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2021,16 +2016,12 @@
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
......@@ -2120,9 +2111,17 @@
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2213,20 +2212,11 @@
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
......@@ -2306,20 +2296,29 @@
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2401,6 +2400,18 @@
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2454,63 +2465,42 @@
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2596,16 +2586,18 @@
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2684,13 +2676,22 @@
0
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2793,16 +2794,9 @@
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
......@@ -2890,6 +2884,14 @@
0
0
0
0
0
0
0
0
0
0
0
1
1
1
......@@ -2945,25 +2947,23 @@
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment