This commit is contained in:
René Knaebel 2017-07-05 19:16:03 +02:00
parent a70d1cb03a
commit 772b07847f

View File

@ -108,12 +108,12 @@ def create_dataset_from_flows(user_flow_df, char_dict, max_len, window_size=10,
for i, user_flow in enumerate(get_flow_per_user(user_flow_df)):
(domain_windows, feature_windows) = get_user_chunks(user_flow,
windowSize=window_size,
overlapping=True,
overlapping=False,
maxLengthInSeconds=-1)
domains += domain_windows
features += feature_windows
# TODO: remove later
if i >= 10:
if i >= 50:
break
print("create training dataset")