cavalab / srbench

A living benchmark framework for symbolic regression
https://cavalab.org/srbench/
GNU General Public License v3.0
203 stars 74 forks source link

competition code suggestions #132

Open lacava opened 1 year ago

lacava commented 1 year ago

Adding @janoPig other suggestions here (also ref https://github.com/cavalab/srbench/discussions/131#discussioncomment-3272713)

Some suggestions for published code here -> https://github.com/janoPig/srbench/tree/srcomp

  • fix run on local machine. solve errors "ValueError: option names {'--ml'} already added" "ValueError: too many values to unpack (expected 3)"
  • added scripts for running on local computer subit_stage[N]_local.sh METHOD_NAME

  • fix number running threads per job(it run always default 4). Add new parameter -n_threads to subit_stage[N].sh script

The submit scripts are there for reproducibility, i.e. they are fixed calls to python analyze.py [args]. analyze.py can be configured for both of these purposes directly.

  • added DataFrame=False parameter to HROCH regressor for correct run.

  • test for input data featureselection.csv. The data was created using the function '0.11x1^3 + 0.91x2x3 + 0.68x4x5 + 0.26x6^2x7 + 0.13x8x9x10' and feature_absence_score was evaluated for '0.11x1^3 + 0.91x3x5 + 0.68x7x9 + 0.26x11^2x13 + 0.13x15x17x19'

janoPig commented 1 year ago

any progress?

janoPig commented 1 year ago

Unwillingness to correct your own mistakes makes your work worthless. Pleas close this issue as pointless.