@@ -88,8 +88,8 @@ function main()
8888 if case_name in keys (case_data)
8989 @show (" Current case: " , case_name)
9090 # gep_params
91- epochs = 1000
92- population_size = 1500
91+ epochs = 500
92+ population_size = 1000
9393
9494 results = DataFrame (Seed= [],
9595 Name= String[], NoiseLeve= String[], Fitness= Float64[], Equation= String[], R2_test= Float64[],
@@ -122,7 +122,7 @@ function main()
122122 regressor = GepRegressor (num_cols - 1 ;
123123 considered_dimensions= phy_dims, gene_count= 3 , head_len= 6 ,
124124 entered_non_terminals= [:+ , :- , :* , :/ , :sqrt , :sin , :cos , :exp , :log ],
125- max_permutations_lib= 10000 , rounds= 5 , number_of_objectives= 1 )
125+ max_permutations_lib= 20000 , rounds= 5 , number_of_objectives= 1 )
126126
127127
128128 @inline function loss_new_ (elem, validate:: Bool )
@@ -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.5 , cycles= 30 )
143+ break_condition= break_condition, correction_amount= 0.7 , cycles= 30 )
144144
145145 end_time = (time_ns () - start_time) / 1e9
146146 elem = regressor. best_models_[1 ]
0 commit comments