8000 Remove `sum_over_features` from `sklearn.metrics.manhattan_distances` · Issue #24597 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

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

      0