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

Skip to content

KernelDensity and GMM interfaces are unnecessarily confusing #4062

Closed as not planned
@jakevdp

Description

@jakevdp

To evaluate the density of data at x, the current interface is density = np.exp(kde.score_samples(data))

(see in action here)

This seems really silly and unnecessary for such a common operation.

How would people feel about adding a density method to KernelDensity and to GMM to make this easier for users to figure out?

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