Skip to main content

Regression via Iterated Local Search for Symbolic Regression GECCO Competition -- 2023

Project description

RILS -- Regression via Iterated Local Search

RILS algorithm for GECCO2023 SR competition

Installation instructions

  1. The program requires Python 3 (tested on version 3.11.3), but it should work on some earlier versions as well. We also recommend using pip package manager.

  2. Download the repository and unpack it.

  3. Install the following pip packages:

pip install numpy
pip install sympy
pip install scikit-learn
pip install statsmodels

Execution instructions

  1. Position inside the root directory of the unpacked repository. The (sub)directories at this level are: instances/, paper/, results/ and rils/. Directory instances/ holds datasets that are previously rounded to 9 decimals and saved in the tab separated .txt files.

  2. Call run_all.cmd or run_all.sh script depending on whether you use Windows or Linux. If using Linux, you might need to change the accesss rights for this script, i.e. add x (execution) rights. Also, you might need to change the name of python executable to python3 on some systems. The content of run_all.{cmd|sh} file is as follows:

python run.py "instances/srbench_2023" "dataset_1.txt" 180 20
python run.py "instances/srbench_2023" "dataset_2.txt" 100 10
python run.py "instances/srbench_2023" "dataset_3.txt" 180 20
  1. The steps in the execution pipeline are explained in paper/rils_gecco2023.pdf. Briefly, several output files will occurr during execution:

    1. best_sols_dataset_{1|2|3}.txt
    2. log.txt
    3. out.txt

The model will be written inside out.txt. Note that there is semi-automated (interactive) simplification (step 4 in the paper) for the dataset_3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rils-0.4.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

rils-0.4-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file rils-0.4.tar.gz.

File metadata

  • Download URL: rils-0.4.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for rils-0.4.tar.gz
Algorithm Hash digest
SHA256 70e69ce178a441376cc6358501fded1babbe2626224bbf124480559c078687db
MD5 c0d4a5271a7f0653118b8c67a1859329
BLAKE2b-256 2226b7b6783fdc818b4d74e81b6ea8cb8cf752863ecee99db58e9b4a1edbb474

See more details on using hashes here.

File details

Details for the file rils-0.4-py3-none-any.whl.

File metadata

  • Download URL: rils-0.4-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for rils-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42e92fdf66a50fed50f8356e60e962df9136b17fd447374ead961755977160bb
MD5 7f5adc02a9db085f8a5d72881574a34a
BLAKE2b-256 d1d10ddf4f0f7db51336ad89135625d05b2d3de88b3a96e867f082ee55b86794

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page