py-why / causaltune

AutoML for causal inference.
Apache License 2.0
205 stars 30 forks source link

inclusive to exclusive intervals #259

Closed julianteichgraber closed 1 year ago

julianteichgraber commented 1 year ago

Problem

Autocausality occasionally crashes due to the parameter 'max_samples' for DRLearners has to be taken from (0,1] instead of [0,1].

Error to fix: raise ValueError(msg.format(max_samples)) ValueError: max_samples must be in range (0, 1) but got value 0.0

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

Types of changes

What types of changes does your code introduce to Auto-Causality? Put an x in the boxes that apply

Checklist