Skip to content

Commit ce1bff4

Browse files
authored
Update Main_min_with_csv_and_units.jl
1 parent f6e9e03 commit ce1bff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Main_min_with_csv_and_units.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ epochs = 1000
1313
pop_size = 1000
1414
gene_count = 6
1515
head_len = 5
16-
16+
cycles = 5
1717
#Define utilized syms as Ordered Dict: Symbol:Arity
1818
#Symbol representation: Here, each symbol belongs either to a terminal or non-terminal with a corresponding arity
1919
utilized_syms = OrderedDict{Int8,Int8}(1 => 2, 2 => 2, 3 => 2, 4 => 2, 5 => 2, 6=>2, 7=>1, 8=>0, 9=>0, 10=>0, 11=>0)
@@ -144,7 +144,7 @@ x_data_test = Float64.(data_test[1:consider:end, 1:(num_cols-1)])
144144
y_data_test = Float64.(data_test[1:consider:end, num_cols])
145145

146146

147-
best=runGep(epochs, pop_size, gene_count, head_len, utilized_syms,operators, callbacks, nodes, x_data',y_data, connection_syms, gep_params;
147+
best=runGep(epochs, pop_size, gene_count, head_len, utilized_syms,operators, callbacks, nodes, x_data',y_data, connection_syms, gep_params;correction_callback=corr_call_back!,
148148
loss_fun_str="mse",x_data_test=x_data_test', y_data_test=y_data_test ,opt_method_const=:cg, hof=1)
149149

150150
#Show the result of the optimization

0 commit comments

Comments
 (0)