Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Symbolic Regression example has broken formatting #756

Open
matt-vonhippel opened this issue Aug 29, 2024 · 0 comments
Open

Comments

@matt-vonhippel
Copy link

The Symbolic Regression example in the docs here has several sections where the description does not match the code. For example, the first code block ends in

pset.addPrimitive(math.cos, 1)

But the description says

"On the last line, we declare an MetaEphemeral constant. This is a special terminal type, which does not have a fixed value. When the program appends an ephemeral constant terminal to a tree, the function it contains is executed, and its result is inserted as a constant terminal. In this case, those constant terminals can take the values -1, 0 or 1."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant