[scikit-learn] check_estimator _NotAnArray

Sole Galli solegalli at protonmail.com
Mon May 10 09:28:59 EDT 2021


Hello everyone,

I am trying to get Feature-engine transformers pass the check_estimator tests and there is one test, that I am not too sure what it is intended for.

The transformers fail the check_transformer_data_not_an_array because the input is a _NotAnArray class, and Feature-engine transformers don't like that.

What is this check intended for? Is it to ensure compatibility with some other sklearn class? if yes, which ones?

I would appreciate any info or links to docs/ issues.

Thanks a lot!

Sole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20210510/09bd31ea/attachment.html>


More information about the scikit-learn mailing list