Skip to content

Updated setup.py and selection.learning.learners.py#44

Open
sophial05 wants to merge 1 commit intojonathan-taylor:masterfrom
sophial05:constant-selection-prob
Open

Updated setup.py and selection.learning.learners.py#44
sophial05 wants to merge 1 commit intojonathan-taylor:masterfrom
sophial05:constant-selection-prob

Conversation

@sophial05
Copy link

(1). setup.py is updated to include selection.learning.
(2). Previously, if all perturbations result in selection = True, sklearn's gradient boosting would throw an exception. Updated changed selection.learning.learners to return a constant function (return prob = 1.0 for all input) if all perturbations result in selection = True.

…lways return prob = 1.0 if all perturbation results in selection event = 1.0
@jonathan-taylor jonathan-taylor force-pushed the master branch 2 times, most recently from 9deb5a8 to f01f3c0 Compare September 25, 2019 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments