<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>

CC BY-SA 4.0
2024-02-15T13:04:35.350Z
Yeah, I tried all of those already yesterday, but wanted to confirm if there was another name. Thank you.
Nordine Lotfi
CC BY-SA 4.0
2024-02-15T12:10:17.240Z
2024-02-15T12:10:17.240Z
nbro
<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>

<reference-request><evolutionary-algorithms><symbolic-ai><genetic-programming>
Equivalent of symbolic regression but for code instead of math expression
Nordine Lotfi
# 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.  

---

