@@ -88,7 +88,7 @@ function main()
8888 if case_name in keys (case_data)
8989 @show (" Current case: " , case_name)
9090 # gep_params
91- epochs = 500
91+ epochs = 1000
9292 population_size = 1000
9393
9494 results = DataFrame (Seed= [],
@@ -130,7 +130,7 @@ function main()
130130 if isnan (mean (elem. fitness)) && elem. dimension_homogene || validate
131131 y_pred = elem. compiled_function (x_train' , regressor. operators_)
132132 fit = sqrt (get_loss_function (" rmse" )(y_train, y_pred))
133- elem. fitness = (fit+ length (elem . expression_raw) * 0.1 * fit ,)
133+ elem. fitness = (fit,)
134134 end
135135 catch e
136136 elem. fitness = (typemax (Float64),)
@@ -140,7 +140,7 @@ function main()
140140
141141 # perform the regression by entering epochs, population_size, the feature cols, the target col and the loss function
142142 fit! (regressor, epochs, population_size, loss_new_; target_dimension= target_dim,
143- break_condition= break_condition, correction_amount= 0.7 , cycles= 30 )
143+ break_condition= break_condition, correction_amount= 0.5 , cycles= 30 )
144144
145145 end_time = (time_ns () - start_time) / 1e9
146146 elem = regressor. best_models_[1 ]
0 commit comments