Beispiel #1
0
 def __init__(self,
              root_base_paras=None,
              root_hybrid_paras=None,
              two_paras=None):
     RootHybridElm.__init__(self, root_base_paras, root_hybrid_paras)
     self.epoch = two_paras["epoch"]
     self.pop_size = two_paras["pop_size"]
     self.filename = "OppoTwo_ELM-sliding_{}-{}".format(
         root_base_paras["sliding"], root_hybrid_paras["paras_name"])
Beispiel #2
0
 def __init__(self,
              root_base_paras=None,
              root_hybrid_paras=None,
              de_paras=None):
     RootHybridElm.__init__(self, root_base_paras, root_hybrid_paras)
     self.epoch = de_paras["epoch"]
     self.pop_size = de_paras["pop_size"]
     self.wf = de_paras["wf"]
     self.cr = de_paras["cr"]
     self.filename = "DE_ELM-sliding_{}-{}".format(
         root_base_paras["sliding"], root_hybrid_paras["paras_name"])
Beispiel #3
0
 def __init__(self,
              root_base_paras=None,
              root_hybrid_paras=None,
              ga_paras=None):
     RootHybridElm.__init__(self, root_base_paras, root_hybrid_paras)
     self.epoch = ga_paras["epoch"]
     self.pop_size = ga_paras["pop_size"]
     self.pc = ga_paras["pc"]
     self.pm = ga_paras["pm"]
     self.filename = "GA_ELM-sliding_{}-{}".format(
         root_base_paras["sliding"], root_hybrid_paras["paras_name"])
Beispiel #4
0
 def __init__(self,
              root_base_paras=None,
              root_hybrid_paras=None,
              pso_paras=None):
     RootHybridElm.__init__(self, root_base_paras, root_hybrid_paras)
     self.epoch = pso_paras["epoch"]
     self.pop_size = pso_paras["pop_size"]
     self.c1 = pso_paras["c_minmax"][0]
     self.c2 = pso_paras["c_minmax"][1]
     self.w_min = pso_paras["w_minmax"][0]
     self.w_max = pso_paras["w_minmax"][1]
     self.filename = "PSO_ELM-sliding_{}-{}".format(
         root_base_paras["sliding"], root_hybrid_paras["paras_name"])
Beispiel #5
0
 def __init__(self,
              root_base_paras=None,
              root_hybrid_paras=None,
              abfols_paras=None):
     RootHybridElm.__init__(self, root_base_paras, root_hybrid_paras)
     self.epoch = abfols_paras["epoch"]
     self.pop_size = abfols_paras["pop_size"]
     self.Ci = abfols_paras["Ci"]
     self.Ped = abfols_paras["Ped"]
     self.Ns = abfols_paras["Ns"]
     self.N_minmax = abfols_paras["N_minmax"]
     self.filename = "ABFOLS_ELM-sliding_{}-{}".format(
         root_base_paras["sliding"], root_hybrid_paras["paras_name"])
Beispiel #6
0
 def __init__(self,
              root_base_paras=None,
              root_hybrid_paras=None,
              bfo_paras=None):
     RootHybridElm.__init__(self, root_base_paras, root_hybrid_paras)
     self.pop_size = bfo_paras["pop_size"]
     self.Ci = bfo_paras["Ci"]
     self.Ped = bfo_paras["Ped"]
     self.Ns = bfo_paras["Ns"]
     self.Ned = bfo_paras["Ned"]
     self.Nre = bfo_paras["Nre"]
     self.Nc = bfo_paras["Nc"]
     self.attract_repels = bfo_paras["attract_repels"]
     self.filename = "BFO_ELM-sliding_{}-{}".format(
         root_base_paras["sliding"], root_hybrid_paras["paras_name"])