Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

is_positive in estimator function must be type bool, can't be array of ints #4

Open
alannaiverson opened this issue Nov 15, 2018 · 0 comments

Comments

@alannaiverson
Copy link

While applying the ml_sampler estimator function, I was using an array of ints (0/1 values) as the is_positive label which would give me wildly incorrect estimates on a known population. As soon as I cast the lables as type bool, the estimator worked as expected. This is just a heads up that an array of 0/1 int values will not work in the estimator function, it must be explicitly as type bool to work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant