Skip to content

GradientBoostingClassifier and GradientBoostingRegressor fit() method documentation #12021

@vivekk0903

Description

@vivekk0903

Description

GradientBoostingClassifier and GradientBoostingRegressor fit() method documentation doesn't show that they can both work on sparse training samples (X) as well .

Current documentation string is:

X : array-like, shape (n_samples, n_features)

It should be something like:

X : {array-like, sparse matrix}, shape (n_samples, n_features)
...

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