Skip to content

[Feature]: Add complexity calculation for user defined expression #339

@OsAmaro

Description

@OsAmaro

Feature Request

Hi. I've recently started using PySR and I would like to suggest a new feature that I think would make the code even more user-friendly.

Would it be possible to have more direct access to the function that computes the complexity such that one can compare expressions found by PySR and those found in the literature?

For example: model.complexity('1 + x_0 + x_1**2')

This would allow the user to easily map the expressions found in the literature on the complexity vs accuracy plots.

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions