Пример #1
0
 def __init__(self, obj_func_idx, replication_no, bucket):
     super(ColdstartRosenbrockBenchmarkPes, self).__init__(obj_func_idx, replication_no, "pes", bucket)
     prev_idx = 2 if self.obj_func_idx == 0 else (self.obj_func_idx - 1)
     if obj_func_idx == 3:   # for slsh, prev is van
         prev_idx = 0
     prev_data_filename = "coldstart/data/seqpes_{0}_repl_{1}".format(self.func_list[prev_idx].getFuncName(), self.replication_no)
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=2, IS_key_dict={0:"coldstart/data/{0}_1_points_each_repl_{1}".format(self.obj_func_min.getFuncName(), self.replication_no), 1:prev_data_filename}, combine_IS=True, sign=1.0)
Пример #2
0
 def __init__(self, replication_no, bucket):
     super(MisoperovHalideMixBUBenchmarkPes, self).__init__(replication_no, "pes", bucket)
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=3,
                                                   IS_key_dict={0:"miso/data/perovHalideMixBU_IS_0_10_points_repl_{0}".format(replication_no),
                                                                1:"miso/data/perovHalideMixBU_IS_1_10_points_repl_{0}".format(replication_no)
                                                                },
                                                   combine_IS=True, sign=1.0)
Пример #3
0
 def __init__(self, obj_func_idx, replication_no, bucket):
     super(ColdstartAtoBenchmarkPes,
           self).__init__(obj_func_idx, replication_no, "pes", bucket)
     prev_idx_1 = self.obj_func_idx - 2
     prev_idx_2 = self.obj_func_idx - 1
     prev_data_filename_1 = "coldstart/data/seqpes_{0}_repl_{1}".format(
         self.func_list[prev_idx_1 if prev_idx_1 >= 0 else prev_idx_1 +
                        4].getFuncName(), self.replication_no)
     prev_data_filename_2 = "coldstart/data/seqpes_{0}_repl_{1}".format(
         self.func_list[prev_idx_2 if prev_idx_2 >= 0 else prev_idx_2 +
                        4].getFuncName(), self.replication_no)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=8,
         IS_key_dict={
             0:
             "coldstart/data/{0}_1_points_each_repl_{1}".format(
                 self.obj_func_min.getFuncName(), self.replication_no),
             1:
             prev_data_filename_1,
             2:
             prev_data_filename_2
         },
         combine_IS=True,
         sign=1.0)
Пример #4
0
 def __init__(self, replication_no, bucket):
     super(MisolrMU3BenchmarkMei, self).__init__(replication_no, "mei", bucket)
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=4,
                                                   IS_key_dict={0:"miso/data/lrMU2_IS_0_10_points_repl_{0}".format(replication_no),
                                                                1:"miso/data/lrMU2_IS_1_10_points_repl_{0}".format(replication_no)
                                                                },
                                                   combine_IS=False, sign=1.0)
Пример #5
0
 def __init__(self, bucket):
     super(MisolrMU4150stHyperEgo, self).__init__("ego")
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=4,
         IS_key_dict={0: "miso/data/hyper_lrMU2_IS_0_1000_points"},
         combine_IS=False,
         sign=1.0)[0]
Пример #6
0
 def __init__(self, bucket):
     super(ColdstartAtoHyperSeqpes, self).__init__("seqpes")
     # self._hist_data = construct_hist_data_from_pickle(dim=8, directory=self.data_dir, IS_filename_dict={0:"hyper_1000_points_atoC_vanilla"}, combine_IS=True, sign=1.0)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=8,
         IS_key_dict={0: "coldstart/data/hyper_1000_points_atoC_vanilla"},
         combine_IS=True,
         sign=1.0)
Пример #7
0
 def __init__(self, bucket):
     super(MisoLrMUHyperMei, self).__init__("mei")
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=4,
         IS_key_dict={
             0: "miso/data/hyper_lrMU_IS_0_1000_points",
             1: "miso/data/hyper_lrMU_IS_1_1000_points"
         },
         combine_IS=False,
         sign=1.0)
Пример #8
0
 def __init__(self, bucket):
     super(MisolrMU4HyperPes, self).__init__("pes")
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=4,
         IS_key_dict={
             0: "miso/data/hyper_lrMU2_IS_0_1000_points",
             1: "miso/data/hyper_lrMU2_IS_1_1000_points"
         },
         combine_IS=True,
         sign=1.0)
Пример #9
0
 def __init__(self, obj_func_idx, bucket):
     super(MisoRosenbrockHyperEgo, self).__init__("ego", obj_func_idx)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=2,
         IS_key_dict={
             0:
             "miso/data/hyper_{0}_IS_0_1000_points".format(
                 self.obj_func_min.getFuncName())
         },
         combine_IS=False,
         sign=1.0)[0]
Пример #10
0
 def __init__(self, replication_no, obj_func_idx, bucket):
     super(MisoRosenbrockBenchmarkEgo,
           self).__init__(replication_no, "ego", obj_func_idx, bucket)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=2,
         IS_key_dict={
             0:
             "miso/data/{0}_IS_0_5_points_repl_{1}".format(
                 self.obj_func_min.getFuncName(), replication_no)
         },
         combine_IS=False,
         sign=1.0)[0]
Пример #11
0
 def __init__(self, replication_no, bucket):
     super(MisoAtoextBenchmarkEgo, self).__init__(replication_no, "ego",
                                                  bucket)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=8,
         IS_key_dict={
             0:
             "miso/data/atoext_IS_0_20_points_repl_{0}".format(
                 replication_no)
         },
         combine_IS=False,
         sign=1.0)[0]
Пример #12
0
 def __init__(self, bucket):
     super(MisolrMU4150stHyperMkgCandPts, self).__init__("mkgcandpts")
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=4,
         IS_key_dict={
             0: "miso/data/hyper_lrMU2_IS_0_1000_points",
             1: "miso/data/hyper_lrMU2_IS_1_1000_points"
         },
         combine_IS=False,
         sign=-1.0,
         take_diff=True,
         primary_IS=0)
Пример #13
0
 def __init__(self, obj_func_idx, replication_no, bucket):
     super(ColdstartAtoBenchmarkSeqpes,
           self).__init__(obj_func_idx, replication_no, "seqpes", bucket)
     # self._hist_data = construct_hist_data_from_pickle(dim=8, directory=self.data_dir, IS_filename_dict={0:"{0}_1_points_each_repl_{1}".format(self.obj_func_min.getFuncName(), self.replication_no)}, combine_IS=True, sign=1.0)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=8,
         IS_key_dict={
             0:
             "coldstart/data/{0}_1_points_each_repl_{1}".format(
                 self.obj_func_min.getFuncName(), self.replication_no)
         },
         combine_IS=True,
         sign=1.0)
Пример #14
0
 def __init__(self, bucket):
     super(MisoAtoextHyperMkg, self).__init__("mkg")
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=8,
         IS_key_dict={
             0: "miso/data/hyper_atoext_IS_0_1000_points",
             1: "miso/data/hyper_atoext_IS_1_1000_points",
             2: "miso/data/hyper_atoext_IS_2_1000_points"
         },
         combine_IS=False,
         sign=-1.0,
         take_diff=True,
         primary_IS=0)
Пример #15
0
 def __init__(self, replication_no, bucket):
     super(MisolrMU4150stBenchmarkMkgCandPts,
           self).__init__(replication_no, "mkgcandpts", bucket)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=4,
         IS_key_dict={
             0: "miso/data/lrMU2_IS_0_10_points_repl_{0}".format(
                 replication_no),
             1: "miso/data/lrMU2_IS_1_10_points_repl_{0}".format(
                 replication_no)
         },
         combine_IS=True,
         sign=-1.0)
Пример #16
0
 def __init__(self, bucket):
     super(ColdstartAtoHyperMkg, self).__init__("mkg")
     # self._hist_data = construct_hist_data_from_pickle(dim=8, directory=self.data_dir, IS_filename_dict={0:"hyper_1000_points_atoC_vanilla", 1:"hyper_1000_points_atoC_var3", 2:"hyper_1000_points_atoC_var4"}, combine_IS=False, sign=-1.0, take_diff=True, primary_key=0)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=8,
         IS_key_dict={
             0: "coldstart/data/hyper_1000_points_atoC_vanilla",
             1: "coldstart/data/hyper_1000_points_atoC_var3",
             2: "coldstart/data/hyper_1000_points_atoC_var4"
         },
         combine_IS=False,
         sign=-1.0,
         take_diff=True,
         primary_IS=0)
Пример #17
0
 def __init__(self, obj_func_idx, bucket):
     super(MisoRosenbrockHyperMkg, self).__init__("mkg", obj_func_idx)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=2,
         IS_key_dict={
             0:
             "miso/data/hyper_{0}_IS_0_1000_points".format(
                 self.obj_func_min.getFuncName()),
             1:
             "miso/data/hyper_{0}_IS_1_1000_points".format(
                 self.obj_func_min.getFuncName())
         },
         combine_IS=False,
         sign=-1.0,
         take_diff=True,
         primary_IS=0)
Пример #18
0
 def __init__(self, replication_no, bucket):
     super(MisoAtoextBenchmarkMkg, self).__init__(replication_no, "mkg",
                                                  bucket)
     self._hist_data = construct_hist_data_from_s3(
         bucket=bucket,
         dim=8,
         IS_key_dict={
             0:
             "miso/data/atoext_IS_0_20_points_repl_{0}".format(
                 replication_no),
             1:
             "miso/data/atoext_IS_1_20_points_repl_{0}".format(
                 replication_no),
             2:
             "miso/data/atoext_IS_2_20_points_repl_{0}".format(
                 replication_no)
         },
         combine_IS=True,
         sign=-1.0)
Пример #19
0
 def __init__(self, bucket):
     super(ColdstartRosenbrockHyperPes, self).__init__("pes")
     # self._hist_data = construct_hist_data_from_pickle(dim=2, directory=self.data_dir, IS_filename_dict={0:"hyper_1000_points_rbCvanN", 1:"hyper_1000_points_rbCbiasN"}, combine_IS=True, sign=1.0)
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=2, IS_key_dict={0:"coldstart/data/hyper_1000_points_rbCvanN", 1:"coldstart/data/hyper_1000_points_rbCbiasN"}, combine_IS=True, sign=1.0)
Пример #20
0
 def __init__(self, bucket):
     super(ColdstartRosenbrockHyperMkg, self).__init__("mkg")
     # self._hist_data = construct_hist_data_from_pickle(dim=2, directory=self.data_dir, IS_filename_dict={0:"hyper_1000_points_rbCvanN", 1:"hyper_1000_points_rbCbiasN"}, combine_IS=False, sign=-1.0, take_diff=True, primary_key=0)
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=2, IS_key_dict={0:"coldstart/data/hyper_1000_points_rbCvanN", 1:"coldstart/data/hyper_1000_points_rbCbiasN"}, combine_IS=False, sign=-1.0, take_diff=True, primary_IS=0)
Пример #21
0
 def __init__(self, obj_func_idx, replication_no, bucket):
     super(ColdstartRosenbrockBenchmarkEgo, self).__init__(obj_func_idx, replication_no, "ego", bucket)
     # self._hist_data = construct_hist_data_from_pickle(dim=2, directory=self.data_dir, IS_filename_dict={0:"{0}_1_points_each_repl_{1}".format(self.obj_func_min.getFuncName(), self.replication_no)}, combine_IS=False, sign=1.0)[0]
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=2, IS_key_dict={0:"coldstart/data/{0}_1_points_each_repl_{1}".format(self.obj_func_min.getFuncName(), self.replication_no)}, combine_IS=False, sign=1.0)[0]
Пример #22
0
 def __init__(self, bucket):
     super(MisoperovHalideMixBUHyperMkg, self).__init__("mkg")
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=3,
                                                   IS_key_dict={0:"miso/data/hyper_perovHalideMixBU_IS_0_10_points",
                                                                1:"miso/data/hyper_perovHalideMixBU_IS_1_10_points"},
                                                   combine_IS=False, sign=-1.0, take_diff=True, primary_IS=0)
Пример #23
0
 def __init__(self, bucket):
     super(MisoperovHalideMixBUHyperPes, self).__init__("pes")
     self._hist_data = construct_hist_data_from_s3(bucket=bucket, dim=3,
                                                   IS_key_dict={0:"miso/data/hyper_perovHalideMixBU_IS_0_10_points",
                                                                1:"miso/data/hyper_perovHalideMixBU_IS_1_10_points"},
                                                   combine_IS=True, sign=1.0)