Browse Source

add converted NAB dataset and conversion script

Former-commit-id: e5e471b7d4 [formerly d2ab1ee11d] [formerly d35d6343cb [formerly a56625c5c6]] [formerly cdc12895a6 [formerly b777341b1c] [formerly a1e643e776 [formerly 7b4fa4725f]]] [formerly cfc417417c [formerly 751bcb7b26] [formerly 9ad526bd55 [formerly bafa08fede]] [formerly ffc89cb24f [formerly 9f869a68ba] [formerly 4a198b127f [formerly 8680466e3e]]]] [formerly 313dac8796 [formerly 21c9ad0874] [formerly 9cca83ab86 [formerly 5d27f72aba]] [formerly 46639b7c2f [formerly 6660c22c45] [formerly 1d55be3b65 [formerly 47d15a1450]]] [formerly 37da483cd0 [formerly 573d2f3058] [formerly cc50743d1d [formerly af59ba6862]] [formerly 7c285c8af2 [formerly 030f2b7705] [formerly 6992119074 [formerly f30ea9c340]]]]] [formerly 11ef3614df [formerly 311d96d17a] [formerly 8566aab3e0 [formerly c3665a4790]] [formerly f86ecf51b7 [formerly a9f031ba64] [formerly c1afd9ab93 [formerly 84a48e34dd]]] [formerly 5255524a8a [formerly 915b93002d] [formerly 2ee6633d23 [formerly 7fb8e14f42]] [formerly f994d0ffc3 [formerly 4a3fdb5e64] [formerly b5f78ca944 [formerly b0b98ea772]]]] [formerly 8eb76f3579 [formerly ec80650a7e] [formerly 312076f5a9 [formerly 474a5e8b78]] [formerly 72335861cd [formerly c4d2734474] [formerly 5f2cadc521 [formerly c94de5eac5]]] [formerly b444ea2bc4 [formerly 51c43c812a] [formerly 9387478d2d [formerly fcef93319c]] [formerly ebc58c38b0 [formerly aba49eb6b6] [formerly 15c4982f4a [formerly 59879a8fa6]]]]]]
Former-commit-id: 5fddd9dd13 [formerly ca628cbc97] [formerly f75e7b129c [formerly 594cd370b9]] [formerly adedf60df9 [formerly 83f5695380] [formerly ea0fa87783 [formerly 4181f5be7a]]] [formerly de4631fef5 [formerly dcf897a5ce] [formerly 93abd01da9 [formerly 9164adba2e]] [formerly 1ae70b26b6 [formerly 5d3413b8d5] [formerly 85ae54ab6a [formerly 422262c562]]]] [formerly 25705cf39f [formerly afc818f4ff] [formerly 6dc2dd6f6d [formerly 0f54f5aac7]] [formerly 15ce462878 [formerly c7a9faef04] [formerly 98cda6c05b [formerly e8e25570a8]]] [formerly 1489696317 [formerly 1be1f71c96] [formerly fc45e064b5 [formerly 4bc136dade]] [formerly 6124e22c63 [formerly aa8152f8f0] [formerly 15c4982f4a]]]]
Former-commit-id: 46eb3bf841 [formerly bec16dc890] [formerly fcd7030d56 [formerly 06d5db40fd]] [formerly 586eb86b80 [formerly 8bc54e9527] [formerly bacd866069 [formerly 2057c06d09]]] [formerly da7bac8e62 [formerly 053ce9b44d] [formerly 4e6e7861ae [formerly caee5a67ed]] [formerly eb9d20ee6b [formerly 5466bbdb9a] [formerly ef2a8c6f20 [formerly faccf9b092]]]]
Former-commit-id: f958cd0610 [formerly d295b88e0b] [formerly b435efd2f1 [formerly 6dcaedaf4a]] [formerly da8c8a7ab6 [formerly 1aba37dd2b] [formerly 6306969c21 [formerly 8d5738b76d]]]
Former-commit-id: 6b65432bea [formerly 3b2b18765e] [formerly b8eb99fe4f [formerly c5360af891]]
Former-commit-id: b4d7cbe3af [formerly b9e256f2a3]
Former-commit-id: 150a5d86cd
master
lhenry15 4 years ago
parent
commit
40a354eaeb
67 changed files with 186377 additions and 155884 deletions
  1. +8
    -0
      datasets/NAB/add_label.py
  2. +4032
    -4032
      datasets/NAB/artificialNoAnomaly/labeled_art_daily_no_noise.csv
  3. +4032
    -4032
      datasets/NAB/artificialNoAnomaly/labeled_art_daily_perfect_square_wave.csv
  4. +4032
    -4032
      datasets/NAB/artificialNoAnomaly/labeled_art_daily_small_noise.csv
  5. +4032
    -4032
      datasets/NAB/artificialNoAnomaly/labeled_art_flatline.csv
  6. +4032
    -4032
      datasets/NAB/artificialNoAnomaly/labeled_art_noisy.csv
  7. +4033
    -0
      datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_daily_no_noise.csv
  8. +4033
    -0
      datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_daily_perfect_square_wave.csv
  9. +4033
    -0
      datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_daily_small_noise.csv
  10. +4033
    -0
      datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_flatline.csv
  11. +4033
    -0
      datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_noisy.csv
  12. +4032
    -4032
      datasets/NAB/artificialWithAnomaly/labeled_art_daily_flatmiddle.csv
  13. +4032
    -4032
      datasets/NAB/artificialWithAnomaly/labeled_art_daily_jumpsdown.csv
  14. +4032
    -4032
      datasets/NAB/artificialWithAnomaly/labeled_art_daily_jumpsup.csv
  15. +4032
    -4032
      datasets/NAB/artificialWithAnomaly/labeled_art_daily_nojump.csv
  16. +4032
    -4032
      datasets/NAB/artificialWithAnomaly/labeled_art_increase_spike_density.csv
  17. +4032
    -4032
      datasets/NAB/artificialWithAnomaly/labeled_art_load_balancer_spikes.csv
  18. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_24ae8d.csv
  19. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_53ea38.csv
  20. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_5f5533.csv
  21. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_77c1ca.csv
  22. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_825cc2.csv
  23. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_ac20cd.csv
  24. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_c6585a.csv
  25. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_fe7f93.csv
  26. +4730
    -4730
      datasets/NAB/realAWSCloudwatch/labeled_ec2_disk_write_bytes_1ef3de.csv
  27. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_disk_write_bytes_c0d644.csv
  28. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_ec2_network_in_257a54.csv
  29. +4730
    -4730
      datasets/NAB/realAWSCloudwatch/labeled_ec2_network_in_5abac7.csv
  30. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_elb_request_count_8c0756.csv
  31. +4621
    -4621
      datasets/NAB/realAWSCloudwatch/labeled_grok_asg_anomaly.csv
  32. +1243
    -1243
      datasets/NAB/realAWSCloudwatch/labeled_iio_us-east-1_i-a2eb1cd9_NetworkIn.csv
  33. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_rds_cpu_utilization_cc0c53.csv
  34. +4032
    -4032
      datasets/NAB/realAWSCloudwatch/labeled_rds_cpu_utilization_e47b3b.csv
  35. +1624
    -1624
      datasets/NAB/realAdExchange/labeled_exchange-2_cpc_results.csv
  36. +1624
    -1624
      datasets/NAB/realAdExchange/labeled_exchange-2_cpm_results.csv
  37. +1538
    -1538
      datasets/NAB/realAdExchange/labeled_exchange-3_cpc_results.csv
  38. +1538
    -1538
      datasets/NAB/realAdExchange/labeled_exchange-3_cpm_results.csv
  39. +1643
    -1643
      datasets/NAB/realAdExchange/labeled_exchange-4_cpc_results.csv
  40. +1643
    -1643
      datasets/NAB/realAdExchange/labeled_exchange-4_cpm_results.csv
  41. +7267
    -7267
      datasets/NAB/realKnownCause/labeled_ambient_temperature_system_failure.csv
  42. +1
    -1
      datasets/NAB/realKnownCause/labeled_cpu_utilization_asg_misconfiguration.csv.REMOVED.git-id
  43. +4032
    -4032
      datasets/NAB/realKnownCause/labeled_ec2_request_latency_system_failure.csv
  44. +1
    -1
      datasets/NAB/realKnownCause/labeled_machine_temperature_system_failure.csv.REMOVED.git-id
  45. +10321
    -0
      datasets/NAB/realKnownCause/labeled_nyc_taxi.csv
  46. +0
    -1
      datasets/NAB/realKnownCause/labeled_nyc_taxi.csv.REMOVED.git-id
  47. +1882
    -1882
      datasets/NAB/realKnownCause/labeled_rogue_agent_key_hold.csv
  48. +5315
    -5315
      datasets/NAB/realKnownCause/labeled_rogue_agent_key_updown.csv
  49. +2500
    -2500
      datasets/NAB/realTraffic/labeled_TravelTime_387.csv
  50. +2162
    -2162
      datasets/NAB/realTraffic/labeled_TravelTime_451.csv
  51. +2380
    -2380
      datasets/NAB/realTraffic/labeled_occupancy_6005.csv
  52. +2500
    -2500
      datasets/NAB/realTraffic/labeled_occupancy_t4013.csv
  53. +2500
    -2500
      datasets/NAB/realTraffic/labeled_speed_6005.csv
  54. +1127
    -1127
      datasets/NAB/realTraffic/labeled_speed_7578.csv
  55. +2495
    -2495
      datasets/NAB/realTraffic/labeled_speed_t4013.csv
  56. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_AAPL.csv.REMOVED.git-id
  57. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_AMZN.csv.REMOVED.git-id
  58. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_CRM.csv.REMOVED.git-id
  59. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_CVS.csv.REMOVED.git-id
  60. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_FB.csv.REMOVED.git-id
  61. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_GOOG.csv.REMOVED.git-id
  62. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_IBM.csv.REMOVED.git-id
  63. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_KO.csv.REMOVED.git-id
  64. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_PFE.csv.REMOVED.git-id
  65. +1
    -1
      datasets/NAB/realTweets/labeled_Twitter_volume_UPS.csv.REMOVED.git-id
  66. +1
    -1
      examples/run_automl.py
  67. +8
    -8
      tods/tods/search/brute_force_search.py

+ 8
- 0
datasets/NAB/add_label.py View File

@@ -1,6 +1,9 @@


import pandas as pd import pandas as pd
import json import json
import os
import time
import datetime




label_file = open('combined_labels.json', 'r') label_file = open('combined_labels.json', 'r')
@@ -10,11 +13,16 @@ for key in label_info.keys():
df = pd.read_csv(key) df = pd.read_csv(key)
fpath, fname = key.split('/')[0], key.split('/')[1] fpath, fname = key.split('/')[0], key.split('/')[1]
label = [] label = []
unix_timestamp = []
for _, row in df.iterrows(): for _, row in df.iterrows():
if row['timestamp'] in list(label_info[key]): if row['timestamp'] in list(label_info[key]):
label.append('1') label.append('1')
else: else:
label.append('0') label.append('0')
timestamp = datetime.datetime.strptime(row['timestamp'], '%Y-%m-%d %H:%M:%S').timestamp()
unix_timestamp.append(timestamp)
df['label'] = label df['label'] = label
df['timestamp'] = unix_timestamp
df.to_csv(fpath+"/labeled_"+fname, index=False) df.to_csv(fpath+"/labeled_"+fname, index=False)
#os.remove(key)



+ 4032
- 4032
datasets/NAB/artificialNoAnomaly/labeled_art_daily_no_noise.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialNoAnomaly/labeled_art_daily_perfect_square_wave.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialNoAnomaly/labeled_art_daily_small_noise.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialNoAnomaly/labeled_art_flatline.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialNoAnomaly/labeled_art_noisy.csv
File diff suppressed because it is too large
View File


+ 4033
- 0
datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_daily_no_noise.csv
File diff suppressed because it is too large
View File


+ 4033
- 0
datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_daily_perfect_square_wave.csv
File diff suppressed because it is too large
View File


+ 4033
- 0
datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_daily_small_noise.csv
File diff suppressed because it is too large
View File


+ 4033
- 0
datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_flatline.csv
File diff suppressed because it is too large
View File


+ 4033
- 0
datasets/NAB/artificialWithAnomaly/artificialNoAnomaly/art_noisy.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialWithAnomaly/labeled_art_daily_flatmiddle.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialWithAnomaly/labeled_art_daily_jumpsdown.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialWithAnomaly/labeled_art_daily_jumpsup.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialWithAnomaly/labeled_art_daily_nojump.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialWithAnomaly/labeled_art_increase_spike_density.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/artificialWithAnomaly/labeled_art_load_balancer_spikes.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_24ae8d.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_53ea38.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_5f5533.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_77c1ca.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_825cc2.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_ac20cd.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_c6585a.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_cpu_utilization_fe7f93.csv
File diff suppressed because it is too large
View File


+ 4730
- 4730
datasets/NAB/realAWSCloudwatch/labeled_ec2_disk_write_bytes_1ef3de.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_disk_write_bytes_c0d644.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_ec2_network_in_257a54.csv
File diff suppressed because it is too large
View File


+ 4730
- 4730
datasets/NAB/realAWSCloudwatch/labeled_ec2_network_in_5abac7.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_elb_request_count_8c0756.csv
File diff suppressed because it is too large
View File


+ 4621
- 4621
datasets/NAB/realAWSCloudwatch/labeled_grok_asg_anomaly.csv
File diff suppressed because it is too large
View File


+ 1243
- 1243
datasets/NAB/realAWSCloudwatch/labeled_iio_us-east-1_i-a2eb1cd9_NetworkIn.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_rds_cpu_utilization_cc0c53.csv
File diff suppressed because it is too large
View File


+ 4032
- 4032
datasets/NAB/realAWSCloudwatch/labeled_rds_cpu_utilization_e47b3b.csv
File diff suppressed because it is too large
View File


+ 1624
- 1624
datasets/NAB/realAdExchange/labeled_exchange-2_cpc_results.csv
File diff suppressed because it is too large
View File


+ 1624
- 1624
datasets/NAB/realAdExchange/labeled_exchange-2_cpm_results.csv
File diff suppressed because it is too large
View File


+ 1538
- 1538
datasets/NAB/realAdExchange/labeled_exchange-3_cpc_results.csv
File diff suppressed because it is too large
View File


+ 1538
- 1538
datasets/NAB/realAdExchange/labeled_exchange-3_cpm_results.csv
File diff suppressed because it is too large
View File


+ 1643
- 1643
datasets/NAB/realAdExchange/labeled_exchange-4_cpc_results.csv
File diff suppressed because it is too large
View File


+ 1643
- 1643
datasets/NAB/realAdExchange/labeled_exchange-4_cpm_results.csv
File diff suppressed because it is too large
View File


+ 7267
- 7267
datasets/NAB/realKnownCause/labeled_ambient_temperature_system_failure.csv
File diff suppressed because it is too large
View File


+ 1
- 1
datasets/NAB/realKnownCause/labeled_cpu_utilization_asg_misconfiguration.csv.REMOVED.git-id View File

@@ -1 +1 @@
6b0bc2aa98d9bd1769aded1842269293ecdbf46c
948611b07519538ef036e0ec1c948f6bf97009cf

+ 4032
- 4032
datasets/NAB/realKnownCause/labeled_ec2_request_latency_system_failure.csv
File diff suppressed because it is too large
View File


+ 1
- 1
datasets/NAB/realKnownCause/labeled_machine_temperature_system_failure.csv.REMOVED.git-id View File

@@ -1 +1 @@
4e6e62763fb4d8a5c8ca35981b7af97c9ce88fbc
428229640a5466e68014f74649a24f00abb1150b

+ 10321
- 0
datasets/NAB/realKnownCause/labeled_nyc_taxi.csv
File diff suppressed because it is too large
View File


+ 0
- 1
datasets/NAB/realKnownCause/labeled_nyc_taxi.csv.REMOVED.git-id View File

@@ -1 +0,0 @@
8d535c4e4624c3e769c603db381cde74ffd1541b

+ 1882
- 1882
datasets/NAB/realKnownCause/labeled_rogue_agent_key_hold.csv
File diff suppressed because it is too large
View File


+ 5315
- 5315
datasets/NAB/realKnownCause/labeled_rogue_agent_key_updown.csv
File diff suppressed because it is too large
View File


+ 2500
- 2500
datasets/NAB/realTraffic/labeled_TravelTime_387.csv
File diff suppressed because it is too large
View File


+ 2162
- 2162
datasets/NAB/realTraffic/labeled_TravelTime_451.csv
File diff suppressed because it is too large
View File


+ 2380
- 2380
datasets/NAB/realTraffic/labeled_occupancy_6005.csv
File diff suppressed because it is too large
View File


+ 2500
- 2500
datasets/NAB/realTraffic/labeled_occupancy_t4013.csv
File diff suppressed because it is too large
View File


+ 2500
- 2500
datasets/NAB/realTraffic/labeled_speed_6005.csv
File diff suppressed because it is too large
View File


+ 1127
- 1127
datasets/NAB/realTraffic/labeled_speed_7578.csv
File diff suppressed because it is too large
View File


+ 2495
- 2495
datasets/NAB/realTraffic/labeled_speed_t4013.csv
File diff suppressed because it is too large
View File


+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_AAPL.csv.REMOVED.git-id View File

@@ -1 +1 @@
0edff7c15786fd853fe6ad350c614242f5b2871b
68dd1084ed091fb9affe45b4e0894250c6c62c07

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_AMZN.csv.REMOVED.git-id View File

@@ -1 +1 @@
8cb8dcfaa5c9c855e7c6d4f059838e20284d6dbc
7bebf0fe077dda56f789d644090faf1d2484913c

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_CRM.csv.REMOVED.git-id View File

@@ -1 +1 @@
f813962b33568d076285707a60cbfec7b0daa864
59fdf3c2b8d171704e3de1e10d8ccfca72c8ab9a

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_CVS.csv.REMOVED.git-id View File

@@ -1 +1 @@
5a221a242b60a8ff302a6bf174ab05b7661a1dfd
d20453833fc13c681f0b5f5a830f3aba52b774cd

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_FB.csv.REMOVED.git-id View File

@@ -1 +1 @@
da6e1f36aeba57d81340b3e468a64eca017561f0
ed60bba6f53c779335874c39966b7d5e4309e2c3

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_GOOG.csv.REMOVED.git-id View File

@@ -1 +1 @@
a2b7ee363323c1583a38fc604425281d0a32e90a
f01b654d9a6a6ebc7efc65da240f83680de2131d

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_IBM.csv.REMOVED.git-id View File

@@ -1 +1 @@
4c504cb93885a3d759c308d39833af0cb72586b8
8e0088d97641d6ab39b808fe03ac0a7ec9ea99b9

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_KO.csv.REMOVED.git-id View File

@@ -1 +1 @@
3e208a1d5a72f93d3105599578918e51f07a31f1
d72fffb08da82bb70ecc379bb1fa56316efda557

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_PFE.csv.REMOVED.git-id View File

@@ -1 +1 @@
3147689c7a7ae3b0b05a5ee2de699f754e8973e9
4c2f8543201c0a66e44815dee128d9044a41c382

+ 1
- 1
datasets/NAB/realTweets/labeled_Twitter_volume_UPS.csv.REMOVED.git-id View File

@@ -1 +1 @@
3e4904fb5fa4e4c0b86fc67f1700b94786f376f5
25a0dd3110986418d379a887cc575f9fdc45a6da

+ 1
- 1
examples/run_automl.py View File

@@ -7,7 +7,7 @@ from tods.search import BruteForceSearch


# Some information # Some information
table_path = 'datasets/NAB/realTweets/labeled_Twitter_volume_IBM.csv' # The path of the dataset table_path = 'datasets/NAB/realTweets/labeled_Twitter_volume_IBM.csv' # The path of the dataset
target_index = 3 # what column is the target
target_index = 2 # what column is the target


#table_path = 'datasets/yahoo_sub_5.csv' #table_path = 'datasets/yahoo_sub_5.csv'
#target_index = 6 # what column is the target #target_index = 6 # what column is the target


+ 8
- 8
tods/tods/search/brute_force_search.py View File

@@ -57,14 +57,14 @@ class BruteForceSearch(PipelineSearchBase):


# DEBUG # DEBUG
#################### ####################
#for pipeline_result in pipeline_results:
# try:
# for error in pipeline_result.error:
# if error is not None:
# raise error
# except:
# import traceback
# traceback.print_exc()
for pipeline_result in pipeline_results:
try:
for error in pipeline_result.error:
if error is not None:
raise error
except:
import traceback
traceback.print_exc()
#################### ####################


return [self.ranking_function(pipeline_result) for pipeline_result in pipeline_results] return [self.ranking_function(pipeline_result) for pipeline_result in pipeline_results]


Loading…
Cancel
Save