Skip to content

Failure to evaluate high dimensional data #167

@leonnoirclerc

Description

@leonnoirclerc

Hello everyone,
I am trying to evaluate a fitted FFTKDE on high dimensional data ( dimension greater than 10), but this fails with an AssertionError.
The error comes from the method autogrid in KDEpy/utils.py. When passing an empty grid it calls:

 if num_points is None:
    num_points = [int(np.power(1024, 1 / dims))] * dims

Which is a list of 1 for dims greater than 10 and will trigger the assert points >= 2 on line 126.
However in the feature summary of your documentation I saw that the supported number of dimensions is set to Any.
Should I evaluate the FFTKDE differently on high dimensional data ? What would be your recommendation here ?
Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions