Exemplo n.º 1
0
    def get_hp_space():
        super_space = Model_lop.get_hp_space()

        space = {
            'num_filter_piano':
            list_hopt_fixedSized([(20, 30, 1), (10, 20, 1)],
                                 'num_filter_piano'),
            'kernel_size_piano':
            list_hopt_fixedSized([(12, 24, 1), (12, 24, 1)],
                                 "kernel_size_piano"),
            'num_filter_orch':
            list_hopt_fixedSized([(30, 50, 1), (10, 20, 1)],
                                 'num_filter_orch'),
            'kernel_size_orch':
            list_hopt_fixedSized([(12, 24, 1), (12, 24, 1)],
                                 "kernel_size_orch"),
            'embeddings_size':
            qloguniform_int("embeddings_size", log(500), log(2000), 10),
            'mlp_pred':
            list_log_hopt(500, 2000, 10, 1, 3, "mlp_pred"),
            'gru_orch':
            list_log_hopt(500, 2000, 10, 0, 2, "gru_orch"),
        }
        space.update(super_space)
        return space
    def get_hp_space():
        super_space = MLFPP.get_hp_space()

        space = {
            'hs_piano': list_log_hopt(500, 2000, 10, 0, 2, 'hs_piano'),
            'hs_orch': list_log_hopt(500, 2000, 10, 0, 2, 'hs_orch'),
            'embeddings_size': qloguniform_int('hs_orch', log(500), log(1000), 10),
        }

        space.update(super_space)
        return space
Exemplo n.º 3
0
    def get_hp_space():
        super_space = Model_lop.get_hp_space()

        space = {
            'num_filter_piano': quniform_int('num_filter_piano', 20, 50, 1),
            'kernel_size_piano': quniform_int('kernel_size_piano', 8, 16, 1),
            'mlp_piano': list_log_hopt(500, 2000, 10, 1, 3, "mlp_piano"),
            'mlp_pred': list_log_hopt(500, 2000, 10, 1, 3, "mlp_pred"),
            'gru_orch': list_log_hopt(500, 2000, 10, 1, 3, "gru_orch"),
        }
        space.update(super_space)
        return space
Exemplo n.º 4
0
	def get_hp_space():
		super_space = Model_lop.get_hp_space()

		space = {'n_hidden': list_log_hopt(500, 2000, 10, 1, 2, "n_hidden")}

		space.update(super_space)
		return space
 def get_hp_space():
     super_space = Model_lop.get_hp_space()
     space = {
         'n_hidden': list_log_hopt(500, 2000, 10, 1, 2, "n_hidden"),
         'num_ordering': quniform_int('num_ordering', 5, 5, 1)
     }
     space.update(super_space)
     return space