|
374 | 374 | "name": "stdout", |
375 | 375 | "output_type": "stream", |
376 | 376 | "text": [ |
377 | | - "DPM finished! Runtime: 13.4088 sec\n", |
| 377 | + "DPM finished! Runtime: 13.9297 sec\n", |
378 | 378 | "Aggregation: intersection with number of patterns: 215\n", |
379 | 379 | "Aggregation: union with number of patterns: 498\n", |
380 | 380 | "Aggregation: unique_negative with number of patterns: 29\n", |
|
421 | 421 | "output_type": "stream", |
422 | 422 | "text": [ |
423 | 423 | "Aggregation: intersection\n", |
424 | | - "Encoding finished! Runtime: 211.6533 sec\n" |
| 424 | + "Encoding finished! Runtime: 212.4152 sec\n" |
425 | 425 | ] |
426 | 426 | }, |
427 | 427 | { |
|
641 | 641 | "output_type": "stream", |
642 | 642 | "text": [ |
643 | 643 | "Aggregation: union\n", |
644 | | - "Encoding finished! Runtime: 408.2286 sec\n" |
| 644 | + "Encoding finished! Runtime: 396.5205 sec\n" |
645 | 645 | ] |
646 | 646 | }, |
647 | 647 | { |
|
861 | 861 | "output_type": "stream", |
862 | 862 | "text": [ |
863 | 863 | "Aggregation: unique_negative\n", |
864 | | - "Encoding finished! Runtime: 17.7938 sec\n" |
| 864 | + "Encoding finished! Runtime: 17.2031 sec\n" |
865 | 865 | ] |
866 | 866 | }, |
867 | 867 | { |
|
1074 | 1074 | "output_type": "stream", |
1075 | 1075 | "text": [ |
1076 | 1076 | "Aggregation: unique_positive\n", |
1077 | | - "Encoding finished! Runtime: 178.5864 sec\n" |
| 1077 | + "Encoding finished! Runtime: 175.8174 sec\n" |
1078 | 1078 | ] |
1079 | 1079 | }, |
1080 | 1080 | { |
|
1308 | 1308 | " \n", |
1309 | 1309 | " t = time()\n", |
1310 | 1310 | " # find one hot encoding of each sequence for each pattern subject to constraints\n", |
1311 | | - " encodings = get_one_hot_encodings(sequences, patterns, constraints, args['rolling_window_size'])\n", |
| 1311 | + " encodings = get_one_hot_encodings(sequences, patterns, constraints, args['rolling_window_size'],\n", |
| 1312 | + " drop_pattern_frequency=False)\n", |
1312 | 1313 | " \n", |
1313 | 1314 | " print(f'Encoding finished! Runtime: {time()-t:.4f} sec')\n", |
1314 | 1315 | " display(encodings.head())" |
|
0 commit comments