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

Skip to content

A nan_policy kwarg for the sample estimators #70

@jorenham

Description

@jorenham

Currently, data with nan's are either always propagated, or an error is raised (e.g. np.asarray_chkfinite raises a ValueError).
The behaviour around nan's is currently unspecified and untested.

Luckily, SciPy has their very well-specified nan_policy (https://scipy.github.io/devdocs/dev/api-dev/nan_policy.html) which appears to be very much applicable to (at least) Lmo's sample estimators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions