Skip to content

Commit 0ea6cf4

Browse files
author
Alessandro Lucantonio
committedMar 17, 2025
[WIP] Still problems with toolbox and map.
1 parent 86b7a8b commit 0ea6cf4

File tree

8 files changed

+192
-172
lines changed

8 files changed

+192
-172
lines changed
 

‎bench/bench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def eval(problem, cfgfile, seed=42):
237237
common_params = {"penalty": penalty, "fitness_scale": fitness_scale}
238238

239239
gpsr = gps.GPSymbolicRegressor(
240-
pset=pset,
240+
pset_config=pset,
241241
fitness=compute_attributes.remote,
242242
predict_func=predict.remote,
243243
error_metric=compute_MSEs.remote,

‎examples/simple_sr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def main():
120120
common_data = {"penalty": penalty}
121121

122122
gpsr = GPSymbolicRegressor(
123-
pset=pset,
123+
pset_config=pset,
124124
fitness=fitness.remote,
125125
error_metric=score.remote,
126126
predict_func=predict.remote,

‎examples/simple_sr_noyaml.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def main():
127127
common_data = {"penalty": penalty}
128128

129129
gpsr = GPSymbolicRegressor(
130-
pset=pset,
130+
pset_config=pset,
131131
fitness=fitness.remote,
132132
error_metric=score.remote,
133133
predict_func=predict.remote,

0 commit comments

Comments
 (0)