Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Present parameters and attributes sorted alphabetically to make it easier to find them on the documentation pages. #31738

Open
@UlyssesAlves

Description

@UlyssesAlves

Describe the issue linked to the documentation

Example

On documentation page https://scikit-learn.org/stable/modules/generated/sklearn.neural_network.MLPClassifier.html the parameters are listed out of order, with "hidden_layer_sizes" being shown at the top, followed by "activation", that should be the first parameters among the three visible on this screenshot. The "solver" parameter is kind of better positioned than the other two, but it's actually not well positioned at all, because after it we have the "alpha" parameter, which should be at the top of the list since it starts with "a". "batch_size" should appear after the parameters that start with "a", and so on.

Image

Suggest a potential alternative/fix

Sort the parameters and attributes alphabetically by name before presenting them on the documentation pages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions