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

Skip to content

Remove sum_over_features from sklearn.metrics.manhattan_distances #24597

Closed
@jjerphan

Description

@jjerphan

sklearn.metrics.manhattan_distances with sum_over_features=False does not return distances, looks unused, and is also unlikely used by users.

I think the behavior for sum_over_features=True should be the unique one for manhattan_distances; in this case, sum_over_features would be removed this from the public API after a deprecation cycle.

This was first discussed in #23958 (comment).

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