Answers.Body: <p>Yes, it's called <strong>genetic programming</strong>.</p>
  <p>I've done a bit of research on the topic in the past. If you use Python, you could use <a href="https://deap.readthedocs.io/en/master/tutorials/advanced/gp.html" rel="nofollow noreferrer">deap</a>, which is quite easy to use. You may also be interested in <a href="https://faculty.hampshire.edu/lspector/push.html" rel="nofollow noreferrer">the PushGP approach</a>. If yes, you could try <a href="https://github.com/erp12/pyshgp" rel="nofollow noreferrer">this library</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-15T13:04:35.350Z
Answers.Text: Yeah, I tried all of those already yesterday, but wanted to confirm if there was another name. Thank you.
Answers.UserDisplayName: Nordine Lotfi
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-15T12:10:17.240Z
Answers.LastActivityDate: 2024-02-15T12:10:17.240Z
Answers.UserDisplayName: nbro
Body: <p>I'm already well versed with Genetic/Memetic algorithms and similar algorithms. I know about Symbolic regression, where some dataset is fitted through a math expression evolution, but I'm wondering, is there any name for equivalent algorithm but for Code instead of Math expression?</p>
  <p>I looked around using keyword such as &quot;Programming regression&quot; or &quot;Code regression&quot; or similar but did not find anything.</p>
  
Tags: <reference-request><evolutionary-algorithms><symbolic-ai><genetic-programming>
Title: Equivalent of symbolic regression but for code instead of math expression
UserDisplayName: Nordine Lotfi
ThreadText: # Equivalent of symbolic regression but for code instead of math expression
  
  (Asked by: username_0 on 2024-02-15)
  
  I'm already well versed with Genetic/Memetic algorithms and similar algorithms. I know about Symbolic regression, where some dataset is fitted through a math expression evolution, but I'm wondering, is there any name for equivalent algorithm but for Code instead of Math expression?
  
  I looked around using keyword such as "Programming regression" or "Code regression" or similar but did not find anything.
  
  **Tags:** reference-request, evolutionary-algorithms, symbolic-ai, genetic-programming
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-02-15. Score: 1 | Accepted answer
  
  Yes, it's called **genetic programming**.
  
  I've done a bit of research on the topic in the past. If you use Python, you could use [deap](https://deap.readthedocs.io/en/master/tutorials/advanced/gp.html), which is quite easy to use. You may also be interested in [the PushGP approach](https://faculty.hampshire.edu/lspector/push.html). If yes, you could try [this library](https://github.com/erp12/pyshgp).
  
  > **Comments:**
  > **username_0**: Yeah, I tried all of those already yesterday, but wanted to confirm if there was another name. Thank you.  
  
  ---
  
  