You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing a custom estimator within the field of causality. Sparing you the details, each column in X is mapped to a "role" (e.g. treatment and control) and these "roles" define how the estimator works internally. This mapping of the columns of X to "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 using parametrize_with_checks.
What is the recommended solution? Potential options:
Your estimator cannot be sklearn compatible as it must accept arrays
Use some sort of tag?
Use the recently introduced expected_failed_checks in parametrize_with_checks?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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