Replies: 1 comment
-
|
Scikit-learn estimators must accept array-like inputs. If your logic requires column names, you can expose that via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am implementing a custom estimator within the field of causality. Sparing you the details, each column in
Xis mapped to a "role" (e.g. treatment and control) and these "roles" define how the estimator works internally. This mapping of the columns ofXto "roles" is passed in the estimator's init. Therefore, this estimator cannot work with arrays as there is no way to identify the role of each column. In this case, my estimator is failing some tests when usingparametrize_with_checks.What is the recommended solution? Potential options:
expected_failed_checksinparametrize_with_checks?Beta Was this translation helpful? Give feedback.
All reactions