Skip to content

Documentation for Symbolic Regression example has broken formatting #756

Open

Description

@matt-vonhippel

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions