Commit 0d3f2418 authored by cif2cif's avatar cif2cif
Browse files

Cambiados los datos a data/normal2 y data/anomaly_20_2

parent dffb5a12
......@@ -16,13 +16,15 @@ from keras_anomaly_detection.library.convolutional import Conv1DAutoEncoder
DO_TRAINING = False
DATA_DIR_PATH = './data'
DATA_DIR_PATH = '../data'
MODEL_DIR_PATH = './models'
NORMAL_DATA_PATH = '/normal/houses_concatenated.pkl'
# ATTACK_DATA_PATH = '/anomaly_20/labels_df/house_0.pkl'
ATTACK_DATA_PATH = '/anomaly_20/labels_df/houses_concatenated.pkl'
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_20/labels_df/houses_concatenated.pkl'
OUTPUT_FILE = 'predicted_labels.csv'
def main():
#Read Normal Data (No Attacks)
......@@ -120,7 +122,6 @@ def main():
def get_th_opt(normalized_rsme, labels_anomaly, flag):
print("entro get_th_opt")
j=2
predicted_labels = {}
labels = labels_anomaly
......
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