Re: [scikit-learn] check_estimator _NotAnArray

2021-05-12 Thread Guillaume LemaƮtre
Scikit-learn estimator should validate X and y. This validation will convert the input X and y into a NumPy array to do the numerical operation of the estimator. This check makes sure that passing an array-like (but not a NumPy array) is still working as passing an array. It basically ensure that

Re: [scikit-learn] check_estimator _NotAnArray

2021-05-12 Thread Sole Galli via scikit-learn
fyi, just posted a question in stackoverflow: https://stackoverflow.com/questions/67500110/what-is-the-check-transformer-data-not-an-array-test-from-sklearns-check-estima Are there any plans to expand the docs on the check_estimators test? it would be really helpful to have a general idea of

[scikit-learn] check_estimator _NotAnArray

2021-05-10 Thread Sole Galli via scikit-learn
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